Enum nix::sys::socket::Shutdown [−][src]
pub enum Shutdown {
Read,
Write,
Both,
}Variants
ReadFurther receptions will be disallowed.
WriteFurther transmissions will be disallowed.
BothFurther receptions and transmissions will be disallowed.
Trait Implementations
impl Clone for Shutdown[src]
impl Clone for Shutdownfn clone(&self) -> Shutdown[src]
fn clone(&self) -> ShutdownReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for Shutdown[src]
impl Copy for Shutdownimpl PartialEq for Shutdown[src]
impl PartialEq for Shutdownfn eq(&self, other: &Shutdown) -> bool[src]
fn eq(&self, other: &Shutdown) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for Shutdown[src]
impl Eq for Shutdownimpl Debug for Shutdown[src]
impl Debug for Shutdown