pub struct ChunkCacheStats {
pub total_entries: usize,
pub complete_entries: usize,
pub total_chunks: usize,
pub total_bytes: u64,
}Expand description
Statistics for chunk cache.
Fields§
§total_entries: usizeTotal number of cached entries
complete_entries: usizeNumber of entries with all chunks cached
total_chunks: usizeTotal number of cached chunks across all entries
total_bytes: u64Total bytes stored in cache
Trait Implementations§
Source§impl Clone for ChunkCacheStats
impl Clone for ChunkCacheStats
Source§fn clone(&self) -> ChunkCacheStats
fn clone(&self) -> ChunkCacheStats
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 ChunkCacheStats
impl Debug for ChunkCacheStats
Source§impl<'de> Deserialize<'de> for ChunkCacheStats
impl<'de> Deserialize<'de> for ChunkCacheStats
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 ChunkCacheStats
impl RefUnwindSafe for ChunkCacheStats
impl Send for ChunkCacheStats
impl Sync for ChunkCacheStats
impl Unpin for ChunkCacheStats
impl UnwindSafe for ChunkCacheStats
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