pub struct LevelStats {
pub level: u32,
pub tables: usize,
pub bytes: u64,
}Expand description
Table count and byte size for one LSM level.
Fields§
§level: u32LSM level number.
tables: usizeNumber of table files in the level.
bytes: u64Total bytes in the level’s table files.
Trait Implementations§
Source§impl Clone for LevelStats
impl Clone for LevelStats
Source§fn clone(&self) -> LevelStats
fn clone(&self) -> LevelStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LevelStats
impl Debug for LevelStats
Source§impl Default for LevelStats
impl Default for LevelStats
Source§fn default() -> LevelStats
fn default() -> LevelStats
Returns the “default value” for a type. Read more
impl Eq for LevelStats
Source§impl PartialEq for LevelStats
impl PartialEq for LevelStats
impl StructuralPartialEq for LevelStats
Auto Trait Implementations§
impl Freeze for LevelStats
impl RefUnwindSafe for LevelStats
impl Send for LevelStats
impl Sync for LevelStats
impl Unpin for LevelStats
impl UnsafeUnpin for LevelStats
impl UnwindSafe for LevelStats
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