pub struct Outcome {
pub stdout: String,
pub stderr: String,
pub status: Option<ExitStatus>,
pub timed_out: bool,
}Expand description
What a supervised run produced.
Fields§
§stdout: StringCaptured standard output (lossy UTF-8).
stderr: StringCaptured standard error (lossy UTF-8).
status: Option<ExitStatus>The child’s exit status; None when the run timed out and was killed.
timed_out: boolWhether the timeout fired (the child and its process group were killed).
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