Struct parity_db::BTreeIterator
source · [−]pub struct BTreeIterator<'a> { /* private fields */ }
Implementations
sourceimpl<'a> BTreeIterator<'a>
impl<'a> BTreeIterator<'a>
pub fn seek(&mut self, key: &[u8]) -> Result<()>
pub fn next(&mut self) -> Result<Option<(Vec<u8>, Vec<u8>)>>
pub fn next_backend(
&mut self,
record_id: u64,
col: &BTreeTable,
log: &impl LogQuery
) -> Result<Option<(Vec<u8>, Vec<u8>)>>
pub fn seek_backend(
&mut self,
key: &[u8],
record_id: u64,
col: &BTreeTable,
log: &impl LogQuery,
after: bool
) -> Result<()>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for BTreeIterator<'a>
impl<'a> Send for BTreeIterator<'a>
impl<'a> Sync for BTreeIterator<'a>
impl<'a> Unpin for BTreeIterator<'a>
impl<'a> !UnwindSafe for BTreeIterator<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more