pub struct DropStatistics {
pub created: usize,
pub dropped: usize,
}
Expand description
A snapshot for a registry’s statistics at a given time.
Fields§
§created: usize
Number of guards created by the corresponding registry.
dropped: usize
Number of guards dropped by the corresponding registry.
Trait Implementations§
Source§impl Debug for DropStatistics
impl Debug for DropStatistics
Source§impl Default for DropStatistics
impl Default for DropStatistics
Source§fn default() -> DropStatistics
fn default() -> DropStatistics
Returns the “default value” for a type. Read more
Source§impl PartialEq for DropStatistics
impl PartialEq for DropStatistics
impl Eq for DropStatistics
impl StructuralPartialEq for DropStatistics
Auto Trait Implementations§
impl Freeze for DropStatistics
impl RefUnwindSafe for DropStatistics
impl Send for DropStatistics
impl Sync for DropStatistics
impl Unpin for DropStatistics
impl UnwindSafe for DropStatistics
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