#[repr(u8)]pub enum DtlsState {
New = 0,
Connecting = 1,
Connected = 2,
Failed = 3,
Closed = 4,
}
Expand description
The enum DtlsState
in the namespace FBS.WebRtcTransport
Generated from these locations:
- Enum
DtlsState
in the filefbs/webRtcTransport.fbs:48
Variants§
New = 0
The variant NEW
in the enum DtlsState
Connecting = 1
The variant CONNECTING
in the enum DtlsState
Connected = 2
The variant CONNECTED
in the enum DtlsState
Failed = 3
The variant FAILED
in the enum DtlsState
Closed = 4
The variant CLOSED
in the enum DtlsState
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DtlsState
impl<'de> Deserialize<'de> for DtlsState
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 DtlsState
impl Ord for DtlsState
Source§impl PartialOrd for DtlsState
impl PartialOrd for DtlsState
Source§impl TryFrom<u8> for DtlsState
impl TryFrom<u8> for DtlsState
Source§type Error = UnknownEnumTagKind
type Error = UnknownEnumTagKind
The type returned in the event of a conversion error.
impl Copy for DtlsState
impl Eq for DtlsState
impl StructuralPartialEq for DtlsState
impl VectorWrite<DtlsState> for DtlsState
impl WriteAs<DtlsState> for DtlsState
impl WriteAsDefault<DtlsState, DtlsState> for DtlsState
impl WriteAsOptional<DtlsState> for DtlsState
Auto Trait Implementations§
impl Freeze for DtlsState
impl RefUnwindSafe for DtlsState
impl Send for DtlsState
impl Sync for DtlsState
impl Unpin for DtlsState
impl UnwindSafe for DtlsState
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