pub struct VersionLevelFileNumIterator { /* private fields */ }
Expand description
| An internal iterator. For a given | version/level pair, yields information about | the files in the level. For a given entry, | key() is the largest key that occurs in the | file, and value() is an 16-byte value | containing the file number and file size, both | encoded using EncodeFixed64.
Implementations§
Source§impl VersionLevelFileNumIterator
impl VersionLevelFileNumIterator
pub fn new( icmp: &InternalKeyComparator, flist: *const Vec<*mut FileMetaData>, ) -> Self
pub fn valid(&self) -> bool
pub fn seek(&mut self, target: &Slice)
pub fn seek_to_first(&mut self)
pub fn seek_to_last(&mut self)
pub fn next(&mut self)
pub fn prev(&mut self)
pub fn key(&self) -> Slice
pub fn value(&self) -> Slice
pub fn status(&self) -> Status
Auto Trait Implementations§
impl !Freeze for VersionLevelFileNumIterator
impl !RefUnwindSafe for VersionLevelFileNumIterator
impl !Send for VersionLevelFileNumIterator
impl !Sync for VersionLevelFileNumIterator
impl Unpin for VersionLevelFileNumIterator
impl !UnwindSafe for VersionLevelFileNumIterator
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