pub enum ChildExitStatus {
Exited(i32),
Signaled {
signal: i32,
dumped_core: bool,
},
AlreadyReaped,
}Expand description
Exact direct-child termination fact reaped by the coordinator.
Variants§
Exited(i32)
The direct child exited normally with this code.
Signaled
The direct child was terminated by a signal.
Fields
AlreadyReaped
Another process-global waiter consumed the direct-child status first.
Trait Implementations§
Source§impl Clone for ChildExitStatus
impl Clone for ChildExitStatus
Source§fn clone(&self) -> ChildExitStatus
fn clone(&self) -> ChildExitStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChildExitStatus
Source§impl Debug for ChildExitStatus
impl Debug for ChildExitStatus
impl Eq for ChildExitStatus
Source§impl PartialEq for ChildExitStatus
impl PartialEq for ChildExitStatus
impl StructuralPartialEq for ChildExitStatus
Auto Trait Implementations§
impl Freeze for ChildExitStatus
impl RefUnwindSafe for ChildExitStatus
impl Send for ChildExitStatus
impl Sync for ChildExitStatus
impl Unpin for ChildExitStatus
impl UnsafeUnpin for ChildExitStatus
impl UnwindSafe for ChildExitStatus
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