pub struct ExecOutcome {
pub stdout: String,
pub stderr: String,
pub exit_code: Option<i32>,
pub truncated: bool,
pub timed_out: bool,
}Expand description
Result of running a single command.
Fields§
§stdout: String§stderr: String§exit_code: Option<i32>None when the process was killed (signal or timeout).
truncated: boolTrue if any stream was clipped or the process was killed by timeout.
timed_out: boolTrue if the command was terminated due to wall-clock timeout.
Trait Implementations§
Source§impl Clone for ExecOutcome
impl Clone for ExecOutcome
Source§fn clone(&self) -> ExecOutcome
fn clone(&self) -> ExecOutcome
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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