pub struct CacheStats {Show 14 fields
pub total_entries: usize,
pub memory_arrow_entries: usize,
pub memory_liquid_entries: usize,
pub memory_squeezed_liquid_entries: usize,
pub disk_liquid_entries: usize,
pub disk_arrow_entries: usize,
pub memory_arrow_bytes: usize,
pub memory_liquid_bytes: usize,
pub memory_squeezed_liquid_bytes: usize,
pub memory_usage_bytes: usize,
pub disk_usage_bytes: usize,
pub max_cache_bytes: usize,
pub cache_root_dir: PathBuf,
pub runtime: RuntimeStatsSnapshot,
}Expand description
Snapshot of cache statistics.
Fields§
§total_entries: usizeTotal number of entries in the cache.
memory_arrow_entries: usizeNumber of in-memory Arrow entries.
memory_liquid_entries: usizeNumber of in-memory Liquid entries.
memory_squeezed_liquid_entries: usizeNumber of in-memory Squeezed-Liquid entries.
disk_liquid_entries: usizeNumber of on-disk Liquid entries.
disk_arrow_entries: usizeNumber of on-disk Arrow entries.
memory_arrow_bytes: usizeTotal size of in-memory Arrow entries in bytes.
memory_liquid_bytes: usizeTotal size of in-memory Liquid entries in bytes.
memory_squeezed_liquid_bytes: usizeTotal size of in-memory Squeezed-Liquid entries in bytes.
memory_usage_bytes: usizeTotal memory usage of the cache.
disk_usage_bytes: usizeTotal disk usage of the cache.
max_cache_bytes: usizeMaximum cache size.
cache_root_dir: PathBufCache root directory.
runtime: RuntimeStatsSnapshotRuntime counters snapshot.
Trait Implementations§
Source§impl Clone for CacheStats
impl Clone for CacheStats
Source§fn clone(&self) -> CacheStats
fn clone(&self) -> CacheStats
Returns a duplicate of the value. Read more
1.0.0 · 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 CacheStats
impl Debug for CacheStats
Source§impl<'de> Deserialize<'de> for CacheStats
impl<'de> Deserialize<'de> for CacheStats
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 CacheStats
impl RefUnwindSafe for CacheStats
impl Send for CacheStats
impl Sync for CacheStats
impl Unpin for CacheStats
impl UnsafeUnpin for CacheStats
impl UnwindSafe for CacheStats
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request