Struct lmdb::RoCursor [−][src]
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])>
fn iter(&mut self) -> Iter<'txn>ⓘ
[src]
fn iter_start(&mut self) -> Iter<'txn>ⓘ
[src]
fn iter_from<K>(&mut self, key: K) -> Iter<'txn>ⓘ where
K: AsRef<[u8]>,
[src]
K: AsRef<[u8]>,
fn iter_dup(&mut self) -> IterDup<'txn>ⓘ
[src]
fn iter_dup_start(&mut self) -> IterDup<'txn>ⓘ
[src]
fn iter_dup_from<K>(&mut self, key: K) -> IterDup<'txn>ⓘ where
K: AsRef<[u8]>,
[src]
K: AsRef<[u8]>,
fn iter_dup_of<K>(&mut self, key: K) -> Iter<'txn>ⓘ where
K: AsRef<[u8]>,
[src]
K: AsRef<[u8]>,
impl<'txn> Debug for RoCursor<'txn>
[src]
impl<'txn> Drop for RoCursor<'txn>
[src]
Auto Trait Implementations
impl<'txn> RefUnwindSafe for RoCursor<'txn>
[src]
impl<'txn> !Send for RoCursor<'txn>
[src]
impl<'txn> !Sync for RoCursor<'txn>
[src]
impl<'txn> Unpin for RoCursor<'txn>
[src]
impl<'txn> UnwindSafe for RoCursor<'txn>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,