#[non_exhaustive]pub struct StoreStats {
pub files_in_memory: u64,
pub files_on_disk: u64,
pub bytes_in_memory: u64,
pub bytes_on_disk: u64,
pub files_spilled: u64,
pub cleanup_failures: u64,
}Available on crate feature
fs only.Expand description
A snapshot of what a store holds, read from atomic counters.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.files_in_memory: u64Files held in memory now.
files_on_disk: u64Files on disk now.
bytes_in_memory: u64Bytes held in memory now.
bytes_on_disk: u64Bytes on disk now.
files_spilled: u64Files spilled to disk since the store was created.
cleanup_failures: u64Deletions that failed during a drop, since the store was created.
Trait Implementations§
Source§impl Clone for StoreStats
impl Clone for StoreStats
impl Copy for StoreStats
Source§impl Debug for StoreStats
impl Debug for StoreStats
impl Eq for StoreStats
Source§impl PartialEq for StoreStats
impl PartialEq for StoreStats
impl StructuralPartialEq for StoreStats
Auto Trait Implementations§
impl Freeze for StoreStats
impl RefUnwindSafe for StoreStats
impl Send for StoreStats
impl Sync for StoreStats
impl Unpin for StoreStats
impl UnsafeUnpin for StoreStats
impl UnwindSafe for StoreStats
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