[−][src]Struct lmdb::RoCursor
A read-only cursor for navigating the items within a database.
Trait Implementations
impl<'txn> Cursor<'txn> for RoCursor<'txn>
[src]
fn cursor(&self) -> *mut MDB_cursor
[src]
fn get(
&self,
key: Option<&[u8]>,
data: Option<&[u8]>,
op: c_uint
) -> Result<(Option<&'txn [u8]>, &'txn [u8])>
[src]
&self,
key: Option<&[u8]>,
data: Option<&[u8]>,
op: c_uint
) -> Result<(Option<&'txn [u8]>, &'txn [u8])>
Retrieves a key/data pair from the cursor. Depending on the cursor op, the current key may be returned. Read more
ⓘImportant traits for Iter<'txn>fn iter(&mut self) -> Iter<'txn>
[src]
Iterate over database items. The iterator will begin with item next after the cursor, and continue until the end of the database. For new cursors, the iterator will begin with the first item in the database. Read more
ⓘImportant traits for Iter<'txn>fn iter_start(&mut self) -> Iter<'txn>
[src]
Iterate over database items starting from the beginning of the database. Read more
ⓘImportant traits for Iter<'txn>fn iter_from<K>(&mut self, key: K) -> Iter<'txn> where
K: AsRef<[u8]>,
[src]
K: AsRef<[u8]>,
Iterate over database items starting from the given key. Read more
ⓘImportant traits for IterDup<'txn>fn iter_dup(&mut self) -> IterDup<'txn>
[src]
Iterate over duplicate database items. The iterator will begin with the item next after the cursor, and continue until the end of the database. Each item will be returned as an iterator of its duplicates. Read more
ⓘImportant traits for IterDup<'txn>fn iter_dup_start(&mut self) -> IterDup<'txn>
[src]
Iterate over duplicate database items starting from the beginning of the database. Each item will be returned as an iterator of its duplicates. Read more
ⓘImportant traits for IterDup<'txn>fn iter_dup_from<K>(&mut self, key: K) -> IterDup<'txn> where
K: AsRef<[u8]>,
[src]
K: AsRef<[u8]>,
Iterate over duplicate items in the database starting from the given key. Each item will be returned as an iterator of its duplicates. Read more
ⓘImportant traits for Iter<'txn>fn iter_dup_of<K>(&mut self, key: K) -> Iter<'txn> where
K: AsRef<[u8]>,
[src]
K: AsRef<[u8]>,
Iterate over the duplicates of the item in the database with the given key.
impl<'txn> Drop for RoCursor<'txn>
[src]
impl<'txn> Debug for RoCursor<'txn>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,