pub enum Termination {
Exited(i32),
Signaled(i32),
}Expand description
How a command ended.
Variants§
Exited(i32)
The command exited with this exit code.
Signaled(i32)
A signal with this number killed the command.
Implementations§
Trait Implementations§
Source§impl Clone for Termination
impl Clone for Termination
impl Copy for Termination
Source§impl Debug for Termination
impl Debug for Termination
Source§impl Display for Termination
impl Display for Termination
impl Eq for Termination
Source§impl Hash for Termination
impl Hash for Termination
Source§impl PartialEq for Termination
impl PartialEq for Termination
impl StructuralPartialEq for Termination
Auto Trait Implementations§
impl Freeze for Termination
impl RefUnwindSafe for Termination
impl Send for Termination
impl Sync for Termination
impl Unpin for Termination
impl UnsafeUnpin for Termination
impl UnwindSafe for Termination
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