pub struct Outcome {
pub exit_code: i32,
pub stdout: Vec<u8>,
pub stderr: Vec<u8>,
}Expand description
What a finished child left behind.
Fields§
§exit_code: i32The surfaced exit code: the child’s own, or 128+N for signal N.
stdout: Vec<u8>Everything the child wrote to stdout, in order.
stderr: Vec<u8>Everything the child wrote to stderr, in order.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze 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