pub struct PagerCache { /* private fields */ }Expand description
Every page of every connection’s cache.
Implementations§
Source§impl PagerCache
impl PagerCache
Sourcepub fn bytes(&self) -> u64
pub fn bytes(&self) -> u64
Bytes of purgeable pages across every connection, the bytes the budget bounds.
Sourcepub fn unbudgeted_bytes(&self) -> u64
pub fn unbudgeted_bytes(&self) -> u64
Bytes of non-purgeable pages (in-memory and temporary databases), outside the budget.
Sourcepub fn capacity_bytes(&self) -> u64
pub fn capacity_bytes(&self) -> u64
The configured budget.
Auto Trait Implementations§
impl !Freeze for PagerCache
impl !RefUnwindSafe for PagerCache
impl !UnwindSafe for PagerCache
impl Send for PagerCache
impl Sync for PagerCache
impl Unpin for PagerCache
impl UnsafeUnpin for PagerCache
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