pub struct SegmentCacheStats {
pub total_segments: usize,
pub total_bytes: u64,
pub hit_count: u64,
pub miss_count: u64,
}Expand description
Snapshot of SegmentCache statistics.
Fields§
§total_segments: usizeTotal number of segments currently in the cache.
total_bytes: u64Total bytes occupied by all cached segments.
hit_count: u64Cumulative successful lookups.
miss_count: u64Cumulative failed lookups.
Trait Implementations§
Source§impl Clone for SegmentCacheStats
impl Clone for SegmentCacheStats
Source§fn clone(&self) -> SegmentCacheStats
fn clone(&self) -> SegmentCacheStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SegmentCacheStats
impl Debug for SegmentCacheStats
Source§impl Default for SegmentCacheStats
impl Default for SegmentCacheStats
Source§fn default() -> SegmentCacheStats
fn default() -> SegmentCacheStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SegmentCacheStats
impl RefUnwindSafe for SegmentCacheStats
impl Send for SegmentCacheStats
impl Sync for SegmentCacheStats
impl Unpin for SegmentCacheStats
impl UnsafeUnpin for SegmentCacheStats
impl UnwindSafe for SegmentCacheStats
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