pub struct PlanCacheStats {Show 13 fields
pub max_entries: Option<usize>,
pub max_bytes: Option<usize>,
pub max_entry_bytes: Option<usize>,
pub charged_bytes: Option<usize>,
pub entries: usize,
pub hits: u64,
pub misses: u64,
pub admissions: u64,
pub disabled_misses: u64,
pub bypasses: u64,
pub evictions: u64,
pub memory_pressure_events: u64,
pub rejected_admissions: u64,
}Fields§
§max_entries: Option<usize>§max_bytes: Option<usize>Requested-heap retention limit; absent for a count-only cache.
max_entry_bytes: Option<usize>Per-entry key/value limit, including the inline entry layout.
charged_bytes: Option<usize>Conservative retained charge, available only for weighted caches.
entries: usize§hits: u64§misses: u64§admissions: u64§disabled_misses: u64§bypasses: u64§evictions: u64§memory_pressure_events: u64§rejected_admissions: u64Trait Implementations§
Source§impl Clone for PlanCacheStats
impl Clone for PlanCacheStats
Source§impl Debug for PlanCacheStats
impl Debug for PlanCacheStats
impl Eq for PlanCacheStats
Source§impl PartialEq for PlanCacheStats
impl PartialEq for PlanCacheStats
impl StructuralPartialEq for PlanCacheStats
Auto Trait Implementations§
impl Freeze for PlanCacheStats
impl RefUnwindSafe for PlanCacheStats
impl Send for PlanCacheStats
impl Sync for PlanCacheStats
impl Unpin for PlanCacheStats
impl UnsafeUnpin for PlanCacheStats
impl UnwindSafe for PlanCacheStats
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