pub struct KVCacheStats {
pub total_blocks: usize,
pub valid_blocks: usize,
pub total_items: usize,
pub memory_usage_bytes: usize,
pub hit_rate: f32,
pub eviction_count: u64,
}Fields§
§total_blocks: usize§valid_blocks: usize§total_items: usize§memory_usage_bytes: usize§hit_rate: f32§eviction_count: u64Trait Implementations§
Source§impl Debug for KVCacheStats
impl Debug for KVCacheStats
Source§impl<'de> Deserialize<'de> for KVCacheStats
impl<'de> Deserialize<'de> for KVCacheStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for KVCacheStats
impl RefUnwindSafe for KVCacheStats
impl Send for KVCacheStats
impl Sync for KVCacheStats
impl Unpin for KVCacheStats
impl UnwindSafe for KVCacheStats
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