pub struct SSTableMeta {
pub id: u64,
pub level: usize,
pub size_bytes: u64,
pub key_range: KeyRange,
}Expand description
Metadata for an SSTable used by the compaction planner.
Fields§
§id: u64Stable identifier (logical).
level: usizeLevel number (0..max_levels-1).
size_bytes: u64Approximate size in bytes.
key_range: KeyRangeKey range covered by this table.
Trait Implementations§
Source§impl Clone for SSTableMeta
impl Clone for SSTableMeta
Source§fn clone(&self) -> SSTableMeta
fn clone(&self) -> SSTableMeta
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 SSTableMeta
impl Debug for SSTableMeta
impl Eq for SSTableMeta
Source§impl PartialEq for SSTableMeta
impl PartialEq for SSTableMeta
impl StructuralPartialEq for SSTableMeta
Auto Trait Implementations§
impl Freeze for SSTableMeta
impl RefUnwindSafe for SSTableMeta
impl Send for SSTableMeta
impl Sync for SSTableMeta
impl Unpin for SSTableMeta
impl UnsafeUnpin for SSTableMeta
impl UnwindSafe for SSTableMeta
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