pub struct StorageStats {
pub memtable_size: u64,
pub memtable_entries: usize,
pub sstable_count: usize,
pub total_disk_size: u64,
pub level_counts: Vec<usize>,
pub compaction_stats: CompactionStats,
}Expand description
Storage statistics
Fields§
§memtable_size: u64Current memtable size in bytes
memtable_entries: usizeNumber of entries in memtable
sstable_count: usizeTotal number of SSTables
total_disk_size: u64Total disk size of SSTables
level_counts: Vec<usize>Number of SSTables at each level
compaction_stats: CompactionStatsCompaction statistics
Trait Implementations§
Source§impl Clone for StorageStats
impl Clone for StorageStats
Source§fn clone(&self) -> StorageStats
fn clone(&self) -> StorageStats
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 StorageStats
impl Debug for StorageStats
Source§impl Default for StorageStats
impl Default for StorageStats
Source§fn default() -> StorageStats
fn default() -> StorageStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StorageStats
impl RefUnwindSafe for StorageStats
impl Send for StorageStats
impl Sync for StorageStats
impl Unpin for StorageStats
impl UnwindSafe for StorageStats
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