Enum linux_raw_sys::v5_11::general::socket_state [−][src]
#[repr(u32)]
#[non_exhaustive]
pub enum socket_state {
SS_FREE,
SS_UNCONNECTED,
SS_CONNECTING,
SS_CONNECTED,
SS_DISCONNECTING,
}Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for socket_stateimpl Send for socket_stateimpl Sync for socket_stateimpl Unpin for socket_stateimpl UnwindSafe for socket_stateBlanket Implementations
Mutably borrows from an owned value. Read more