pub struct RwCursor<'txn> { /* private fields */ }Expand description
A read-write cursor for navigating items within a database.
Implementations§
Source§impl<'txn> RwCursor<'txn>
impl<'txn> RwCursor<'txn>
Sourcepub fn reader(&mut self) -> RwCursorReader<'_>
pub fn reader(&mut self) -> RwCursorReader<'_>
Returns read access to this cursor. The slices it yields keep this
cursor mutably borrowed, so no write can modify them while they are
alive (see RwCursorReader).
Trait Implementations§
Auto Trait Implementations§
impl<'txn> !Send for RwCursor<'txn>
impl<'txn> !Sync for RwCursor<'txn>
impl<'txn> Freeze for RwCursor<'txn>
impl<'txn> RefUnwindSafe for RwCursor<'txn>
impl<'txn> Unpin for RwCursor<'txn>
impl<'txn> UnsafeUnpin for RwCursor<'txn>
impl<'txn> UnwindSafe for RwCursor<'txn>
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