pub struct RunOutcome {
pub exit_code: i32,
pub duration: Duration,
pub stdout: Vec<u8>,
pub stderr: Vec<u8>,
}Fields§
§exit_code: i32§duration: Duration§stdout: Vec<u8>Captured stdout when RunSpec.capture_output is true; empty otherwise.
stderr: Vec<u8>Captured stderr when RunSpec.capture_output is true; empty otherwise.
Trait Implementations§
Source§impl Debug for RunOutcome
impl Debug for RunOutcome
Source§impl Default for RunOutcome
impl Default for RunOutcome
Source§fn default() -> RunOutcome
fn default() -> RunOutcome
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RunOutcome
impl RefUnwindSafe for RunOutcome
impl Send for RunOutcome
impl Sync for RunOutcome
impl Unpin for RunOutcome
impl UnsafeUnpin for RunOutcome
impl UnwindSafe for RunOutcome
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