Enum nix::sys::socket::Shutdown [] [src]

pub enum Shutdown {
    Read,
    Write,
    Both,
}

Variants

Read

Further receptions will be disallowed.

Write

Further transmissions will be disallowed.

Both

Further receptions and transmissions will be disallowed.

Trait Implementations

Derived Implementations

impl Debug for Shutdown

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

impl Eq for Shutdown

impl PartialEq for Shutdown

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

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

impl Copy for Shutdown

impl Clone for Shutdown

fn clone(&self) -> Shutdown

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