#[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.
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)