Enum rustix::net::Shutdown
#[repr(u32)]
pub enum Shutdown {
Read,
Write,
ReadWrite,
}Documentation
SHUT_* constants for use with shutdown.
Variants
ReadSHUT_WR—Disable further read operations.
WriteSHUT_WR—Disable further write operations.
ReadWriteSHUT_RDWR—Disable further read and write operations.
Trait Implementations
impl Debug for Shutdown
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl Hash for Shutdown
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()impl StructuralEq for Shutdownimpl StructuralPartialEq for ShutdownAuto Trait Implementations
impl RefUnwindSafe for Shutdownimpl UnwindSafe for ShutdownBlanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T