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 Debug for Shutdown[src]
impl Debug for Shutdownfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for Shutdown[src]
impl Eq for Shutdownimpl Hash for Shutdown[src]
impl Hash for Shutdownfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl PartialEq for Shutdown[src]
impl PartialEq for Shutdown