pub struct StoreStats {
pub object_count: u64,
pub total_bytes: u64,
pub stored_bytes: u64,
}Expand description
Size accounting reported by a backend.
total_bytes is the sum of raw unique-object lengths (the backend-independent
headline); stored_bytes is what the backend physically writes (equal to
total_bytes for EmbeddedStore, which stores raw; smaller for a
compressing backend).
Fields§
§object_count: u64Unique ids present.
total_bytes: u64Sum of object file lengths (raw).
stored_bytes: u64On-disk bytes (== total_bytes for a raw backend).
Trait Implementations§
Source§impl Clone for StoreStats
impl Clone for StoreStats
impl Copy for StoreStats
Source§impl Debug for StoreStats
impl Debug for StoreStats
Source§impl Default for StoreStats
impl Default 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