pub struct SstTableIterator { /* private fields */ }
Implementations§
Source§impl SstTableIterator
impl SstTableIterator
pub fn new( sst_reader: SstReader, compression_type: CompressionType, ) -> Result<Self>
pub fn entries_count(&self) -> usize
pub fn block_count(&self) -> usize
Trait Implementations§
Source§impl SstIterator for SstTableIterator
impl SstIterator for SstTableIterator
fn seek_to_first(&mut self) -> Result<()>
fn seek_to_last(&mut self) -> Result<()>
fn seek(&mut self, target_key: &[u8]) -> Result<()>
fn next(&mut self) -> Result<bool>
fn prev(&mut self) -> Result<bool>
fn valid(&self) -> bool
fn key(&self) -> Option<&[u8]>
fn value(&self) -> Option<&[u8]>
Auto Trait Implementations§
impl Freeze for SstTableIterator
impl RefUnwindSafe for SstTableIterator
impl Send for SstTableIterator
impl Sync for SstTableIterator
impl Unpin for SstTableIterator
impl UnwindSafe for SstTableIterator
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