pub struct CacheGcStats {
pub memory_freed: usize,
pub caches_freed: usize,
pub gc_time_ms: u64,
}Expand description
Garbage collection statistics
Fields§
§memory_freed: usizeMemory freed in bytes
caches_freed: usizeNumber of caches garbage collected
gc_time_ms: u64Time taken for GC
Trait Implementations§
Source§impl Clone for CacheGcStats
impl Clone for CacheGcStats
Source§fn clone(&self) -> CacheGcStats
fn clone(&self) -> CacheGcStats
Returns a duplicate of the value. Read more
1.0.0 · 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 CacheGcStats
impl Debug for CacheGcStats
Source§impl<'de> Deserialize<'de> for CacheGcStats
impl<'de> Deserialize<'de> for CacheGcStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CacheGcStats
impl RefUnwindSafe for CacheGcStats
impl Send for CacheGcStats
impl Sync for CacheGcStats
impl Unpin for CacheGcStats
impl UnsafeUnpin for CacheGcStats
impl UnwindSafe for CacheGcStats
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