pub struct Success {
pub stdout: Option<String>,
pub code: i32,
}Expand description
Successful command execution struct
Therefore, stderr is no provided
sometimes piped to parent, so Option<String> is used
Fields§
§stdout: Option<String>§code: i32Auto Trait Implementations§
impl RefUnwindSafe for Success
impl Send for Success
impl Sync for Success
impl Unpin for Success
impl UnwindSafe for Success
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