Enum mio::deprecated::Shutdown []

pub enum Shutdown {
    Read,
    Write,
    Both,
}

Variants

Further receptions will be disallowed.

Further transmissions will be disallowed.

Further receptions and transmissions will be disallowed.

Trait Implementations

impl Debug for Shutdown

Formats the value using the given formatter.

impl Eq for Shutdown

impl PartialEq<Shutdown> for Shutdown

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

This method tests for !=.

impl Copy for Shutdown

impl Clone for Shutdown

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more