pub struct Status {
pub capacity: u64,
pub recorded: u64,
pub dropped: u64,
}Expand description
How the event ring is doing.
Fields§
§capacity: u64How many events the ring can hold.
recorded: u64How many have been recorded since boot.
dropped: u64How many were overwritten before anyone read them. Non-zero means this instrument is lossy right now, and anything read from it is a sample rather than a record.
Trait Implementations§
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin for Status
impl UnwindSafe for Status
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