pub struct SSTableMeta {
pub path: PathBuf,
pub min_key: Vec<u8>,
pub max_key: Vec<u8>,
pub entry_count: u64,
pub file_size: u64,
pub level: u32,
pub sequence: u64,
}Expand description
SSTable metadata (in-memory representation)
Fields§
§path: PathBufPath to the SSTable file
min_key: Vec<u8>Minimum key
max_key: Vec<u8>Maximum key
entry_count: u64Number of entries
file_size: u64File size in bytes
level: u32Level in the LSM tree (0 = newest)
sequence: u64Sequence number when created
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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SSTableMeta
impl RefUnwindSafe for SSTableMeta
impl Send for SSTableMeta
impl Sync for SSTableMeta
impl Unpin 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