#[repr(C)]
pub enum PayloadProtocolIdentifier {
Dcep,
String,
Binary,
StringEmpty,
BinaryEmpty,
Unknown,
}
Expand description
PayloadProtocolIdentifier is an enum for DataChannel payload types PayloadProtocolIdentifier enums https://www.iana.org/assignments/sctp-parameters/sctp-parameters.xhtml#sctp-parameters-25
Variants
Dcep
String
Binary
StringEmpty
BinaryEmpty
Unknown
Trait Implementations
sourceimpl Clone for PayloadProtocolIdentifier
impl Clone for PayloadProtocolIdentifier
sourcefn clone(&self) -> PayloadProtocolIdentifier
fn clone(&self) -> PayloadProtocolIdentifier
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PayloadProtocolIdentifier
impl Debug for PayloadProtocolIdentifier
sourceimpl Default for PayloadProtocolIdentifier
impl Default for PayloadProtocolIdentifier
sourceimpl Display for PayloadProtocolIdentifier
impl Display for PayloadProtocolIdentifier
sourceimpl From<u32> for PayloadProtocolIdentifier
impl From<u32> for PayloadProtocolIdentifier
sourcefn from(v: u32) -> PayloadProtocolIdentifier
fn from(v: u32) -> PayloadProtocolIdentifier
Converts to this type from the input type.
sourceimpl PartialEq<PayloadProtocolIdentifier> for PayloadProtocolIdentifier
impl PartialEq<PayloadProtocolIdentifier> for PayloadProtocolIdentifier
sourcefn eq(&self, other: &PayloadProtocolIdentifier) -> bool
fn eq(&self, other: &PayloadProtocolIdentifier) -> bool
impl Copy for PayloadProtocolIdentifier
impl Eq for PayloadProtocolIdentifier
impl StructuralEq for PayloadProtocolIdentifier
impl StructuralPartialEq for PayloadProtocolIdentifier
Auto Trait Implementations
impl RefUnwindSafe for PayloadProtocolIdentifier
impl Send for PayloadProtocolIdentifier
impl Sync for PayloadProtocolIdentifier
impl Unpin for PayloadProtocolIdentifier
impl UnwindSafe for PayloadProtocolIdentifier
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more