#[repr(u8)]pub enum EcnCodepoint {
Ect0 = 2,
Ect1 = 1,
Ce = 3,
}
Expand description
Explicit congestion notification codepoint
Variants§
Ect0 = 2
The ECT(0) codepoint, indicating that an endpoint is ECN-capable
Ect1 = 1
The ECT(1) codepoint, indicating that an endpoint is ECN-capable
Ce = 3
The CE codepoint, signalling that congestion was experienced
Implementations§
Trait Implementations§
Source§impl AddAssign<EcnCodepoint> for EcnCounts
impl AddAssign<EcnCodepoint> for EcnCounts
Source§fn add_assign(&mut self, rhs: EcnCodepoint)
fn add_assign(&mut self, rhs: EcnCodepoint)
Performs the
+=
operation. Read moreSource§impl Clone for EcnCodepoint
impl Clone for EcnCodepoint
Source§fn clone(&self) -> EcnCodepoint
fn clone(&self) -> EcnCodepoint
Returns a duplicate 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 PartialEq for EcnCodepoint
impl PartialEq 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.