Enum unshare::ChildEvent [] [src]

pub enum ChildEvent {
    Death(pid_t, ExitStatus),
    Stop(pid_t, SigNum),
    Continue(pid_t),
}

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, SigNum)

Child is stopped on a signal SigNum

Continue(pid_t)

Child is continued (SIGCONT sent)

Trait Implementations

impl Eq for ChildEvent
[src]

impl PartialEq for ChildEvent
[src]

fn eq(&self, __arg_0: &ChildEvent) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &ChildEvent) -> bool

This method tests for !=.

impl Copy for ChildEvent
[src]

impl Clone for ChildEvent
[src]

fn clone(&self) -> ChildEvent

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for ChildEvent
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.