pub struct ConsoleCounts { /* private fields */ }Expand description
The live counters.
Implementations§
Source§impl ConsoleCounts
impl ConsoleCounts
Sourcepub fn snapshot(
&self,
tap_dropped_total: u64,
tap_unsubscribe_failures: u64,
) -> ConsoleCountsSnapshot
pub fn snapshot( &self, tap_dropped_total: u64, tap_unsubscribe_failures: u64, ) -> ConsoleCountsSnapshot
Every counter as it stands. tap_dropped_total and
tap_unsubscribe_failures are the tap’s own, passed in.
Trait Implementations§
Source§impl Debug for ConsoleCounts
impl Debug for ConsoleCounts
Auto Trait Implementations§
impl !Freeze for ConsoleCounts
impl RefUnwindSafe for ConsoleCounts
impl Send for ConsoleCounts
impl Sync for ConsoleCounts
impl Unpin for ConsoleCounts
impl UnsafeUnpin for ConsoleCounts
impl UnwindSafe for ConsoleCounts
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