pub struct CursorImpl<'tx: 'a, 'a> { /* private fields */ }
Expand description
Read-only Cursor
Trait Implementations§
Source§impl<'tx: 'a, 'a> CursorApi for CursorImpl<'tx, 'a>
impl<'tx: 'a, 'a> CursorApi for CursorImpl<'tx, 'a>
Source§fn first(&mut self) -> Option<(&[u8], Option<&[u8]>)>
fn first(&mut self) -> Option<(&[u8], Option<&[u8]>)>
Moves the cursor to the first item in the bucket and returns its key and value. Read more
Source§fn last(&mut self) -> Option<(&[u8], Option<&[u8]>)>
fn last(&mut self) -> Option<(&[u8], Option<&[u8]>)>
Moves the cursor to the last item in the bucket and returns its key and value. Read more
Source§fn next(&mut self) -> Option<(&[u8], Option<&[u8]>)>
fn next(&mut self) -> Option<(&[u8], Option<&[u8]>)>
Moves the cursor to the next item in the bucket and returns its key and value. Read more
Auto Trait Implementations§
impl<'tx, 'a> Freeze for CursorImpl<'tx, 'a>
impl<'tx, 'a> !RefUnwindSafe for CursorImpl<'tx, 'a>
impl<'tx, 'a> !Send for CursorImpl<'tx, 'a>
impl<'tx, 'a> !Sync for CursorImpl<'tx, 'a>
impl<'tx, 'a> Unpin for CursorImpl<'tx, 'a>
impl<'tx, 'a> !UnwindSafe for CursorImpl<'tx, '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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more