#[repr(u8)]pub enum Ecn {
Ect0 = 2,
Ect1 = 1,
Ce = 3,
}Expand description
The ECN codepoint carried in the IP header’s TOS or traffic class byte.
Variants§
Ect0 = 2
ECN-capable transport, the codepoint classic ECN marks with.
Ect1 = 1
ECN-capable transport, the codepoint L4S marks with.
Ce = 3
Congestion experienced: a queue on the path marked the packet.
Trait Implementations§
impl Copy for Ecn
impl Eq for Ecn
impl StructuralPartialEq for Ecn
Auto Trait Implementations§
impl Freeze for Ecn
impl RefUnwindSafe for Ecn
impl Send for Ecn
impl Sync for Ecn
impl Unpin for Ecn
impl UnsafeUnpin for Ecn
impl UnwindSafe for Ecn
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.