pub struct EmitterStats { /* private fields */ }Expand description
Counters surfaced for diagnostics: events enqueued for shipping and events dropped because the channel was full. A visible drop is better than a silent one. Cheap atomics so the emit path stays lock-free.
Implementations§
Trait Implementations§
Source§impl Debug for EmitterStats
impl Debug for EmitterStats
Auto Trait Implementations§
impl !Freeze for EmitterStats
impl RefUnwindSafe for EmitterStats
impl Send for EmitterStats
impl Sync for EmitterStats
impl Unpin for EmitterStats
impl UnsafeUnpin for EmitterStats
impl UnwindSafe for EmitterStats
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