pub struct CommandOutput {
pub exit_code: i32,
pub stdout: String,
pub stderr: String,
pub duration_ms: u64,
}Expand description
Output from running a shell command.
Fields§
§exit_code: i32§stdout: String§stderr: String§duration_ms: u64Trait Implementations§
Auto Trait Implementations§
impl Forget for CommandOutput
impl Freeze for CommandOutput
impl Move for CommandOutput
impl RefUnwindSafe for CommandOutput
impl Send for CommandOutputwhere
RawVecInner: Send,
impl Sync for CommandOutputwhere
RawVecInner: Sync,
impl Unpin for CommandOutput
impl UnsafeUnpin for CommandOutput
impl UnwindSafe for CommandOutputwhere
RawVecInner: UnwindSafe,
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