pub struct Outcome {
pub status: i32,
pub stdout: String,
pub stderr: String,
}Expand description
What the command settled on: its exit status and everything it writes to each stream.
Fields§
§status: i32The exit status: EXIT_OK, EXIT_REJECTED or EXIT_USAGE.
stdout: StringEverything written to standard output.
stderr: StringEverything written to standard error.
Trait Implementations§
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Forget for Outcome
impl Freeze for Outcome
impl Move for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
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