pub struct LockGcStats {
pub removed: usize,
pub kept: usize,
}Expand description
Statistics from lock garbage collection
Fields§
§removed: usizeNumber of expired locks removed
kept: usizeNumber of active locks kept
Trait Implementations§
Source§impl Clone for LockGcStats
impl Clone for LockGcStats
Source§fn clone(&self) -> LockGcStats
fn clone(&self) -> LockGcStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LockGcStats
impl Debug for LockGcStats
Source§impl Default for LockGcStats
impl Default for LockGcStats
Source§fn default() -> LockGcStats
fn default() -> LockGcStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LockGcStats
impl RefUnwindSafe for LockGcStats
impl Send for LockGcStats
impl Sync for LockGcStats
impl Unpin for LockGcStats
impl UnsafeUnpin for LockGcStats
impl UnwindSafe for LockGcStats
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