Enum rustix::net::Shutdown [−][src]
#[repr(u32)]
pub enum Shutdown {
Read,
Write,
ReadWrite,
}
Expand description
SHUT_*
constants for use with shutdown
.
Variants
Read
SHUT_WR
—Disable further read operations.
Write
SHUT_WR
—Disable further write operations.
ReadWrite
SHUT_RDWR
—Disable further read and write operations.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Shutdown
impl UnwindSafe for Shutdown
Blanket Implementations
Mutably borrows from an owned value. Read more