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
impl Clone for Shutdown
[src]
impl Clone for Shutdown
fn clone(&self) -> Shutdown
[src]
fn clone(&self) -> Shutdown
Returns 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 Shutdown
impl PartialEq for Shutdown
[src]
impl PartialEq for Shutdown
fn eq(&self, __arg_0: &Shutdown) -> bool
[src]
fn eq(&self, __arg_0: &Shutdown) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Shutdown
[src]
impl Eq for Shutdown
impl Debug for Shutdown
[src]
impl Debug for Shutdown