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 !RefUnwindSafe for VersionLevelFileNumIterator
impl !Send for VersionLevelFileNumIterator
impl !Sync for VersionLevelFileNumIterator
impl Unpin for VersionLevelFileNumIterator
impl !UnwindSafe for VersionLevelFileNumIterator
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more