Enum nix::unistd::Fork [-] [+] [src]

pub enum Fork {
    Parent(pid_t),
    Child,
}

Variants

Parent
Child

Methods

impl Fork

fn is_child(&self) -> bool

fn is_parent(&self) -> bool

Trait Implementations

Derived Implementations

impl Copy for Fork

impl Clone for Fork

fn clone(&self) -> Fork

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