pub struct RingStats {
pub enqueued: u64,
pub dequeued: u64,
pub bytes_enqueued: u64,
pub bytes_dequeued: u64,
pub full_count: u64,
pub empty_count: u64,
}Expand description
Statistics for ring buffer operations.
Fields§
§enqueued: u64Total messages enqueued.
dequeued: u64Total messages dequeued.
bytes_enqueued: u64Total bytes enqueued.
bytes_dequeued: u64Total bytes dequeued.
full_count: u64Number of times the ring was full.
empty_count: u64Number of times the ring was empty.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RingStats
impl RefUnwindSafe for RingStats
impl Send for RingStats
impl Sync for RingStats
impl Unpin for RingStats
impl UnsafeUnpin for RingStats
impl UnwindSafe for RingStats
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