pub struct ExecOutcome {
pub stdout: Vec<u8>,
pub stderr: Vec<u8>,
pub exit_code: i32,
pub duration: Duration,
pub captured: bool,
pub truncated_raw: bool,
}Expand description
The result of running the real command.
Fields§
§stdout: Vec<u8>§stderr: Vec<u8>§exit_code: i32Already normalized: code() if exited, else 128 + signal.
duration: Duration§captured: boolWhether we captured (Optimize) or passed stdio through (Passthrough).
truncated_raw: boolWhether the raw output was truncated to the storage cap (spec §21.4).
Trait Implementations§
Source§impl Clone for ExecOutcome
impl Clone for ExecOutcome
Auto Trait Implementations§
impl Freeze for ExecOutcome
impl RefUnwindSafe for ExecOutcome
impl Send for ExecOutcome
impl Sync for ExecOutcome
impl Unpin for ExecOutcome
impl UnsafeUnpin for ExecOutcome
impl UnwindSafe for ExecOutcome
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