pub enum SctpState {
None,
Closed,
CookieWait,
CookieEchoed,
Established,
ShutdownSent,
ShutdownRecd,
ShutdownAckSent,
HeartbeatSent,
UnrecognizedConst(u8),
}Variants§
None
Closed
CookieWait
CookieEchoed
Established
ShutdownSent
ShutdownRecd
ShutdownAckSent
HeartbeatSent
UnrecognizedConst(u8)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SctpState
impl<'de> Deserialize<'de> for SctpState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for SctpState
impl Ord for SctpState
Source§impl PartialOrd for SctpState
impl PartialOrd for SctpState
Source§impl Size for SctpState
impl Size for SctpState
Source§fn unpadded_size(&self) -> usize
fn unpadded_size(&self) -> usize
Size of the unpadded data structure. This will usually
only be unaligned for variable length types like
strings or byte buffers.
Source§fn padded_size(&self) -> usize
fn padded_size(&self) -> usize
Get the size of the payload and align it to
the required netlink byte alignment.
impl Copy for SctpState
impl Eq for SctpState
impl StructuralPartialEq for SctpState
Auto Trait Implementations§
impl Freeze for SctpState
impl RefUnwindSafe for SctpState
impl Send for SctpState
impl Sync for SctpState
impl Unpin for SctpState
impl UnwindSafe for SctpState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more