pub struct SwapStats {
pub puts: u64,
pub gets: u64,
pub get_miss: u64,
pub spills_to_disk: u64,
pub faults_from_disk: u64,
pub resident_hits: u64,
pub disk_evictions: u64,
}Fields§
§puts: u64§gets: u64§get_miss: u64§spills_to_disk: u64§faults_from_disk: u64§resident_hits: u64§disk_evictions: u642026-09-25: On-disk records dropped by the disk cap; a later get of a dropped key is a miss.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SwapStats
impl RefUnwindSafe for SwapStats
impl Send for SwapStats
impl Sync for SwapStats
impl Unpin for SwapStats
impl UnwindSafe for SwapStats
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