pub struct CursorKeyRangeIter<'a> { /* private fields */ }
Implementations§
Source§impl<'a> CursorKeyRangeIter<'a>
impl<'a> CursorKeyRangeIter<'a>
pub fn new<K: ToMdbValue + 'a>( start_key: &'a K, end_key: &'a K, end_inclusive: bool, ) -> CursorKeyRangeIter<'a>
Trait Implementations§
Source§impl<'a> Debug for CursorKeyRangeIter<'a>
impl<'a> Debug for CursorKeyRangeIter<'a>
Source§impl IterateCursor for CursorKeyRangeIter<'_>
impl IterateCursor for CursorKeyRangeIter<'_>
Source§fn init_cursor<'a, 'b: 'a>(&'a self, cursor: &mut Cursor<'b>) -> bool
fn init_cursor<'a, 'b: 'a>(&'a self, cursor: &mut Cursor<'b>) -> bool
Returns true if initialization successful, for example that
the key exists.
Source§fn move_to_next<'i, 'c: 'i>(&'i self, cursor: &'c mut Cursor<'c>) -> bool
fn move_to_next<'i, 'c: 'i>(&'i self, cursor: &'c mut Cursor<'c>) -> bool
Returns true if there is still data and iterator is in correct range
Auto Trait Implementations§
impl<'a> Freeze for CursorKeyRangeIter<'a>
impl<'a> RefUnwindSafe for CursorKeyRangeIter<'a>
impl<'a> !Send for CursorKeyRangeIter<'a>
impl<'a> !Sync for CursorKeyRangeIter<'a>
impl<'a> Unpin for CursorKeyRangeIter<'a>
impl<'a> UnwindSafe for CursorKeyRangeIter<'a>
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