pub struct BlockIter { /* private fields */ }
Expand description
Implementations§
Source§impl BlockIter
impl BlockIter
pub fn compare(&self, a: &Slice, b: &Slice) -> i32
Sourcepub fn next_entry_offset(&self) -> u32
pub fn next_entry_offset(&self) -> u32
| Return the offset in data_ just past | the end of the current entry. |
pub fn get_restart_point(&mut self, index: u32) -> u32
pub fn seek_to_restart_point(&mut self, index: u32)
pub fn new( comparator: Box<dyn SliceComparator>, data: *const u8, restarts: u32, num_restarts: u32, ) -> Self
pub fn valid(&self) -> bool
pub fn status(&self) -> Status
pub fn key(&self) -> Slice
pub fn value(&self) -> Slice
pub fn next(&mut self)
pub fn prev(&mut self)
pub fn seek(&mut self, target: &Slice)
pub fn seek_to_first(&mut self)
pub fn seek_to_last(&mut self)
pub fn corruption_error(&mut self)
pub fn parse_next_key(&mut self) -> bool
Auto Trait Implementations§
impl Freeze for BlockIter
impl !RefUnwindSafe for BlockIter
impl !Send for BlockIter
impl !Sync for BlockIter
impl Unpin for BlockIter
impl !UnwindSafe for BlockIter
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