#[repr(u8)]pub enum SctpState {
New = 0,
Connecting = 1,
Connected = 2,
Failed = 3,
Closed = 4,
}
Expand description
The enum SctpState
in the namespace FBS.SctpAssociation
Generated from these locations:
- Enum
SctpState
in the filefbs/sctpAssociation.fbs:3
Variants§
New = 0
The variant NEW
in the enum SctpState
Connecting = 1
The variant CONNECTING
in the enum SctpState
Connected = 2
The variant CONNECTED
in the enum SctpState
Failed = 3
The variant FAILED
in the enum SctpState
Closed = 4
The variant CLOSED
in the enum SctpState
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 TryFrom<u8> for SctpState
impl TryFrom<u8> for SctpState
Source§type Error = UnknownEnumTagKind
type Error = UnknownEnumTagKind
The type returned in the event of a conversion error.
impl Copy for SctpState
impl Eq for SctpState
impl StructuralPartialEq for SctpState
impl VectorWrite<SctpState> for SctpState
impl WriteAs<SctpState> for SctpState
impl WriteAsDefault<SctpState, SctpState> for SctpState
impl WriteAsOptional<SctpState> 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