Struct bitcoinleveldb_table::BlockIter
source · 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 !RefUnwindSafe for BlockIter
impl !Send for BlockIter
impl !Sync for BlockIter
impl Unpin for BlockIter
impl !UnwindSafe for BlockIter
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