pub struct SenderStats {
pub packets_sent: u64,
pub bytes_sent: u64,
pub queue_drops: u64,
pub expired_packets: u64,
pub transport_drops: u64,
pub recovery_rounds: u64,
pub recovery_superseded: u64,
pub shutdown_drops: u64,
pub queue_peak: usize,
}Expand description
Counters distinguish queue shedding from carrier backpressure.
Fields§
§packets_sent: u64§bytes_sent: u64§queue_drops: u64§expired_packets: u64§transport_drops: u64§recovery_rounds: u64§recovery_superseded: u64§shutdown_drops: u64§queue_peak: usizeTrait Implementations§
Source§impl Clone for SenderStats
impl Clone for SenderStats
impl Copy for SenderStats
Source§impl Debug for SenderStats
impl Debug for SenderStats
Source§impl Default for SenderStats
impl Default for SenderStats
impl Eq for SenderStats
Source§impl PartialEq for SenderStats
impl PartialEq for SenderStats
impl StructuralPartialEq for SenderStats
Auto Trait Implementations§
impl Freeze for SenderStats
impl RefUnwindSafe for SenderStats
impl Send for SenderStats
impl Sync for SenderStats
impl Unpin for SenderStats
impl UnsafeUnpin for SenderStats
impl UnwindSafe for SenderStats
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> GetTypeRegistration for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more