pub struct HybridCacheStats {
pub hits: u64,
pub misses: u64,
pub disk_hits: u64,
pub memory_capacity: u64,
pub disk_capacity: u64,
pub disk_write_bytes: u64,
pub disk_read_bytes: u64,
pub disk_write_ios: u64,
pub disk_read_ios: u64,
}Expand description
Statistics for hybrid cache
Fields§
§hits: u64§misses: u64§disk_hits: u64§memory_capacity: u64§disk_capacity: u64§disk_write_bytes: u64Bytes written to disk (from foyer Statistics)
disk_read_bytes: u64Bytes read from disk (from foyer Statistics)
disk_write_ios: u64Number of write I/O operations
disk_read_ios: u64Number of read I/O operations
Implementations§
Trait Implementations§
Source§impl Clone for HybridCacheStats
impl Clone for HybridCacheStats
Source§fn clone(&self) -> HybridCacheStats
fn clone(&self) -> HybridCacheStats
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 moreAuto Trait Implementations§
impl Freeze for HybridCacheStats
impl RefUnwindSafe for HybridCacheStats
impl Send for HybridCacheStats
impl Sync for HybridCacheStats
impl Unpin for HybridCacheStats
impl UnsafeUnpin for HybridCacheStats
impl UnwindSafe for HybridCacheStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more