pub struct BashResult {
exit_code: isize,
stdout: String,
stderr: String,
}Expand description
Result of the command
Fields§
§exit_code: isizeThe integer exit code returned by the command
stdout: StringStdout output
stderr: StringStderr output
Trait Implementations§
Source§impl Debug for BashResult
impl Debug for BashResult
Source§impl<'de> Deserialize<'de> for BashResult
impl<'de> Deserialize<'de> for BashResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for BashResult
impl Display for BashResult
Auto Trait Implementations§
impl Freeze for BashResult
impl RefUnwindSafe for BashResult
impl Send for BashResult
impl Sync for BashResult
impl Unpin for BashResult
impl UnsafeUnpin for BashResult
impl UnwindSafe for BashResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more