pub struct Counts {
pub entity_hits: u64,
pub entity_misses: u64,
pub query_hits: u64,
pub query_misses: u64,
pub too_large: u64,
pub unsupported: u64,
pub invalidations: u64,
}Expand description
One region’s tally.
Fields§
§entity_hits: u64§entity_misses: u64§query_hits: u64§query_misses: u64§too_large: u64Result sets not stored because they were over max_rows.
unsupported: u64Result sets not stored because a column cannot round-trip through JSON — a binary column. Worth watching: a table that never caches is a region that is doing nothing.
invalidations: u64Generation bumps: how often a write threw this table’s queries away.
Implementations§
Trait Implementations§
impl Copy for Counts
impl Eq for Counts
impl StructuralPartialEq for Counts
Auto Trait Implementations§
impl Freeze for Counts
impl RefUnwindSafe for Counts
impl Send for Counts
impl Sync for Counts
impl Unpin for Counts
impl UnsafeUnpin for Counts
impl UnwindSafe for Counts
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