#[repr(u8)]pub enum DtlsRole {
Auto = 0,
Client = 1,
Server = 2,
}
Expand description
The enum DtlsRole
in the namespace FBS.WebRtcTransport
Generated from these locations:
- Enum
DtlsRole
in the filefbs/webRtcTransport.fbs:42
Variants§
Auto = 0
The variant AUTO
in the enum DtlsRole
Client = 1
The variant CLIENT
in the enum DtlsRole
Server = 2
The variant SERVER
in the enum DtlsRole
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DtlsRole
impl<'de> Deserialize<'de> for DtlsRole
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 DtlsRole
impl Ord for DtlsRole
Source§impl PartialOrd for DtlsRole
impl PartialOrd for DtlsRole
Source§impl TryFrom<u8> for DtlsRole
impl TryFrom<u8> for DtlsRole
Source§type Error = UnknownEnumTagKind
type Error = UnknownEnumTagKind
The type returned in the event of a conversion error.
impl Copy for DtlsRole
impl Eq for DtlsRole
impl StructuralPartialEq for DtlsRole
impl VectorWrite<DtlsRole> for DtlsRole
impl WriteAs<DtlsRole> for DtlsRole
impl WriteAsDefault<DtlsRole, DtlsRole> for DtlsRole
impl WriteAsOptional<DtlsRole> for DtlsRole
Auto Trait Implementations§
impl Freeze for DtlsRole
impl RefUnwindSafe for DtlsRole
impl Send for DtlsRole
impl Sync for DtlsRole
impl Unpin for DtlsRole
impl UnwindSafe for DtlsRole
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