pub enum SctpState {
New,
Connecting,
Connected,
Failed,
Closed,
}
Expand description
SCTP state.
Variants§
New
SCTP procedures not yet initiated.
Connecting
SCTP connecting.
Connected
SCTP successfully connected.
Failed
SCTP connection failed.
Closed
SCTP state when the transport has been closed.
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
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