pub enum Execution {
Ran {
stdout: String,
stderr: String,
success: bool,
},
NotRun(String),
}Expand description
The outcome of trying to run a command.
Variants§
Ran
The process ran. It may still have failed, hence success.
NotRun(String)
The process could not be spawned at all; carries the OS error text.
Trait Implementations§
impl Eq for Execution
impl StructuralPartialEq for Execution
Auto Trait Implementations§
impl Freeze for Execution
impl RefUnwindSafe for Execution
impl Send for Execution
impl Sync for Execution
impl Unpin for Execution
impl UnsafeUnpin for Execution
impl UnwindSafe for Execution
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