pub struct LiveFile {
pub column_family_name: String,
pub name: String,
pub size: usize,
pub level: i32,
pub start_key: Option<Vec<u8>>,
pub end_key: Option<Vec<u8>>,
pub num_entries: u64,
pub num_deletions: u64,
}
Expand description
The metadata that describes a SST file
Fields§
§column_family_name: String
Name of the column family the file belongs to
name: String
Name of the file
size: usize
Size of the file
level: i32
Level at which this file resides
start_key: Option<Vec<u8>>
Smallest user defined key in the file
end_key: Option<Vec<u8>>
Largest user defined key in the file
num_entries: u64
Number of entries/alive keys in the file
num_deletions: u64
Number of deletions/tomb key(s) in the file
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LiveFile
impl RefUnwindSafe for LiveFile
impl Send for LiveFile
impl Sync for LiveFile
impl Unpin for LiveFile
impl UnwindSafe for LiveFile
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)