pub struct BufferStats {
pub hits: u64,
pub misses: u64,
pub evictions: u64,
pub resident_pages: u64,
}Expand description
A snapshot of buffer-pool cache activity, for metrics. hits / (hits + misses)
is the page cache hit ratio, the primary read-performance signal.
Fields§
§hits: u64§misses: u64§evictions: u64§resident_pages: u64Frames currently holding a page.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BufferStats
impl RefUnwindSafe for BufferStats
impl Send for BufferStats
impl Sync for BufferStats
impl Unpin for BufferStats
impl UnsafeUnpin for BufferStats
impl UnwindSafe for BufferStats
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