pub enum CommandExecInfo {
End {
status: ExitStatus,
},
Interruption,
Error(Error),
Line(RawCommandOutputLine),
}Expand description
a piece of information about the execution of a command
Variants§
End
Command ended
Fields
§
status: ExitStatusInterruption
Bacon killed the command
Error(Error)
Execution failed
Line(RawCommandOutputLine)
Here’s a line of output (coming from stderr or stdout)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CommandExecInfo
impl RefUnwindSafe for CommandExecInfo
impl Send for CommandExecInfo
impl Sync for CommandExecInfo
impl Unpin for CommandExecInfo
impl UnwindSafe for CommandExecInfo
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