Enum rtc_shared::EcnCodepoint
source · #[repr(u8)]pub enum EcnCodepoint {
// some variants omitted
}Expand description
Explicit congestion notification codepoint
Implementations§
source§impl EcnCodepoint
impl EcnCodepoint
sourcepub fn from_bits(x: u8) -> Option<EcnCodepoint>
pub fn from_bits(x: u8) -> Option<EcnCodepoint>
Create new object from the given bits
Trait Implementations§
source§impl Clone for EcnCodepoint
impl Clone for EcnCodepoint
source§fn clone(&self) -> EcnCodepoint
fn clone(&self) -> EcnCodepoint
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 EcnCodepoint
impl Debug for EcnCodepoint
source§impl Hash for EcnCodepoint
impl Hash for EcnCodepoint
source§impl Ord for EcnCodepoint
impl Ord for EcnCodepoint
source§fn cmp(&self, other: &EcnCodepoint) -> Ordering
fn cmp(&self, other: &EcnCodepoint) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for EcnCodepoint
impl PartialEq for EcnCodepoint
source§fn eq(&self, other: &EcnCodepoint) -> bool
fn eq(&self, other: &EcnCodepoint) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for EcnCodepoint
impl PartialOrd for EcnCodepoint
source§fn partial_cmp(&self, other: &EcnCodepoint) -> Option<Ordering>
fn partial_cmp(&self, other: &EcnCodepoint) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for EcnCodepoint
impl Eq for EcnCodepoint
impl StructuralPartialEq for EcnCodepoint
Auto Trait Implementations§
impl RefUnwindSafe for EcnCodepoint
impl Send for EcnCodepoint
impl Sync for EcnCodepoint
impl Unpin for EcnCodepoint
impl UnwindSafe for EcnCodepoint
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