#[repr(C)]pub enum PayloadProtocolIdentifier {
Dcep = 50,
String = 51,
Binary = 53,
StringEmpty = 56,
BinaryEmpty = 57,
Unknown = 58,
}
Expand description
PayloadProtocolIdentifier is an enum for DataChannel payload types
Variants§
Trait Implementations§
source§impl Clone for PayloadProtocolIdentifier
impl Clone for PayloadProtocolIdentifier
source§fn clone(&self) -> PayloadProtocolIdentifier
fn clone(&self) -> PayloadProtocolIdentifier
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PayloadProtocolIdentifier
impl Debug for PayloadProtocolIdentifier
source§impl Default for PayloadProtocolIdentifier
impl Default for PayloadProtocolIdentifier
source§fn default() -> PayloadProtocolIdentifier
fn default() -> PayloadProtocolIdentifier
Returns the “default value” for a type. Read more
source§impl Display for PayloadProtocolIdentifier
impl Display for PayloadProtocolIdentifier
source§impl From<u32> for PayloadProtocolIdentifier
impl From<u32> for PayloadProtocolIdentifier
source§fn from(v: u32) -> PayloadProtocolIdentifier
fn from(v: u32) -> PayloadProtocolIdentifier
Converts to this type from the input type.
source§impl PartialEq for PayloadProtocolIdentifier
impl PartialEq for PayloadProtocolIdentifier
source§fn eq(&self, other: &PayloadProtocolIdentifier) -> bool
fn eq(&self, other: &PayloadProtocolIdentifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PayloadProtocolIdentifier
impl StructuralPartialEq for PayloadProtocolIdentifier
Auto Trait Implementations§
impl Freeze for PayloadProtocolIdentifier
impl RefUnwindSafe for PayloadProtocolIdentifier
impl Send for PayloadProtocolIdentifier
impl Sync for PayloadProtocolIdentifier
impl Unpin for PayloadProtocolIdentifier
impl UnwindSafe for PayloadProtocolIdentifier
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