pub struct CompactionFileInfo<'a> { /* private fields */ }Expand description
One input or output file of a compaction, borrowed from the job info that listed it.
Implementations§
Source§impl<'a> CompactionFileInfo<'a>
impl<'a> CompactionFileInfo<'a>
Sourcepub fn file_number(&self) -> u64
pub fn file_number(&self) -> u64
File number of this file.
Sourcepub fn oldest_blob_file_number(&self) -> u64
pub fn oldest_blob_file_number(&self) -> u64
File number of the oldest blob file this SST file references, or 0 when it references no blob file.
Auto Trait Implementations§
impl<'a> !Send for CompactionFileInfo<'a>
impl<'a> !Sync for CompactionFileInfo<'a>
impl<'a> Freeze for CompactionFileInfo<'a>
impl<'a> RefUnwindSafe for CompactionFileInfo<'a>
impl<'a> Unpin for CompactionFileInfo<'a>
impl<'a> UnsafeUnpin for CompactionFileInfo<'a>
impl<'a> UnwindSafe for CompactionFileInfo<'a>
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