pub struct WriteBehindStats {
pub entry_count: usize,
pub dirty_count: usize,
pub capacity: usize,
pub total_flushes: u64,
pub total_entries_flushed: u64,
}Expand description
Snapshot of write-behind cache statistics.
Fields§
§entry_count: usizeNumber of entries currently in the cache.
dirty_count: usizeNumber of dirty (unflushed) entries.
capacity: usizeMaximum capacity.
total_flushes: u64Total number of flush operations performed.
total_entries_flushed: u64Total number of individual entries flushed to the store.
Trait Implementations§
Source§impl Clone for WriteBehindStats
impl Clone for WriteBehindStats
Source§fn clone(&self) -> WriteBehindStats
fn clone(&self) -> WriteBehindStats
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 moreAuto Trait Implementations§
impl Freeze for WriteBehindStats
impl RefUnwindSafe for WriteBehindStats
impl Send for WriteBehindStats
impl Sync for WriteBehindStats
impl Unpin for WriteBehindStats
impl UnsafeUnpin for WriteBehindStats
impl UnwindSafe for WriteBehindStats
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