pub enum ChildEvent {
Death(pid_t, ExitStatus),
Stop(pid_t, Signal),
Continue(pid_t),
}
Expand description
The event returned from child_events()
iterator
Variants§
Death(pid_t, ExitStatus)
Child is dead, similar to what returned by reap_zombies()
Stop(pid_t, Signal)
Child is stopped on a signal Signal
Continue(pid_t)
Child is continued (SIGCONT sent)
Trait Implementations§
Source§impl Clone for ChildEvent
impl Clone for ChildEvent
Source§fn clone(&self) -> ChildEvent
fn clone(&self) -> ChildEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ChildEvent
impl Debug for ChildEvent
Source§impl PartialEq for ChildEvent
impl PartialEq for ChildEvent
impl Copy for ChildEvent
impl Eq for ChildEvent
impl StructuralPartialEq for ChildEvent
Auto Trait Implementations§
impl Freeze for ChildEvent
impl RefUnwindSafe for ChildEvent
impl Send for ChildEvent
impl Sync for ChildEvent
impl Unpin for ChildEvent
impl UnwindSafe for ChildEvent
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