pub struct CapturedCommand {
pub status: Option<ExitStatus>,
pub stdout: String,
pub stderr: String,
pub timed_out: bool,
pub duration_ms: u64,
}Expand description
Captured command execution result.
Fields§
§status: Option<ExitStatus>§stdout: String§stderr: String§timed_out: bool§duration_ms: u64Implementations§
Trait Implementations§
Source§impl Clone for CapturedCommand
impl Clone for CapturedCommand
Source§fn clone(&self) -> CapturedCommand
fn clone(&self) -> CapturedCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CapturedCommand
impl RefUnwindSafe for CapturedCommand
impl Send for CapturedCommand
impl Sync for CapturedCommand
impl Unpin for CapturedCommand
impl UnsafeUnpin for CapturedCommand
impl UnwindSafe for CapturedCommand
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