Expand description
Cursor for reading from or writing to a particular database
A new cursor can be created using Txn::new_cursor
. It is used by
invoking one of the cursor methods in Txn
or TxnRw
.
Implementations
Trait Implementations
impl<K: ?Sized, V: ?Sized, C> Eq for Cursor<K, V, C>
Auto Trait Implementations
impl<K: ?Sized, V: ?Sized, C> RefUnwindSafe for Cursor<K, V, C>
impl<K: ?Sized, V: ?Sized, C> Send for Cursor<K, V, C>
impl<K: ?Sized, V: ?Sized, C> Sync for Cursor<K, V, C>
impl<K: ?Sized, V: ?Sized, C> Unpin for Cursor<K, V, C>
impl<K: ?Sized, V: ?Sized, C> UnwindSafe for Cursor<K, V, C>
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more