pub struct SinkStats {
pub accepted: u64,
pub dropped: u64,
}Expand description
What the sink has seen.
Fields§
§accepted: u64Samples accepted into the queue.
dropped: u64Samples dropped because the queue was full.
Non-zero means the consumer fell behind and the stream is incomplete.
Implementations§
Trait Implementations§
impl Copy for SinkStats
impl Eq for SinkStats
impl StructuralPartialEq for SinkStats
Auto Trait Implementations§
impl Freeze for SinkStats
impl RefUnwindSafe for SinkStats
impl Send for SinkStats
impl Sync for SinkStats
impl Unpin for SinkStats
impl UnsafeUnpin for SinkStats
impl UnwindSafe for SinkStats
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