#[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§impl PartialOrd for EcnCodepoint
impl PartialOrd for EcnCodepoint
impl Copy for EcnCodepoint
impl Eq for EcnCodepoint
impl StructuralPartialEq for EcnCodepoint
Auto Trait Implementations§
impl Freeze for EcnCodepoint
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