pub struct EcnCounts {
pub ect0: u64,
pub ect1: u64,
pub ce: u64,
}
Expand description
Explicit Congestion Notification counters
Fields§
§ect0: u64
Number of ECT(0) marked packets
ect1: u64
Number of ECT(1) marked packets
ce: u64
Number of CE marked packets
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 moreimpl Copy for EcnCounts
impl Eq for EcnCounts
impl StructuralPartialEq for EcnCounts
Auto Trait Implementations§
impl Freeze for EcnCounts
impl RefUnwindSafe for EcnCounts
impl Send for EcnCounts
impl Sync for EcnCounts
impl Unpin for EcnCounts
impl UnwindSafe for EcnCounts
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.