pub struct BrokerCounters { /* private fields */ }Expand description
Traffic counters; there is deliberately no mutable data-byte counter.
Implementations§
Source§impl BrokerCounters
impl BrokerCounters
Sourcepub fn snapshot(&self) -> CounterSnapshot
pub fn snapshot(&self) -> CounterSnapshot
Reads each traffic counter; data bytes are pinned to zero.
Trait Implementations§
Source§impl Debug for BrokerCounters
impl Debug for BrokerCounters
Auto Trait Implementations§
impl !Freeze for BrokerCounters
impl RefUnwindSafe for BrokerCounters
impl Send for BrokerCounters
impl Sync for BrokerCounters
impl Unpin for BrokerCounters
impl UnsafeUnpin for BrokerCounters
impl UnwindSafe for BrokerCounters
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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