pub enum Death {
Signal(i32),
Exit(i32),
}Expand description
How the child died.
Variants§
Implementations§
Source§impl Death
impl Death
pub fn from_status(s: ExitStatus) -> Self
Trait Implementations§
impl Copy for Death
impl Eq for Death
impl StructuralPartialEq for Death
Auto Trait Implementations§
impl Freeze for Death
impl RefUnwindSafe for Death
impl Send for Death
impl Sync for Death
impl Unpin for Death
impl UnsafeUnpin for Death
impl UnwindSafe for Death
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