pub struct CursorValue<'cursor> { /* private fields */ }
Implementations§
Source§impl<'cursor> CursorValue<'cursor>
CursorValue performs lazy data extraction from iterator
avoiding any data conversions and memory copy. Lifetime
is limited to iterator lifetime
impl<'cursor> CursorValue<'cursor>
CursorValue performs lazy data extraction from iterator avoiding any data conversions and memory copy. Lifetime is limited to iterator lifetime
pub fn get_key<T: FromMdbValue + 'cursor>(&'cursor self) -> T
pub fn get_value<T: FromMdbValue + 'cursor>(&'cursor self) -> T
pub fn get<T: FromMdbValue + 'cursor, U: FromMdbValue + 'cursor>( &'cursor self, ) -> (T, U)
Trait Implementations§
Auto Trait Implementations§
impl<'cursor> Freeze for CursorValue<'cursor>
impl<'cursor> RefUnwindSafe for CursorValue<'cursor>
impl<'cursor> !Send for CursorValue<'cursor>
impl<'cursor> !Sync for CursorValue<'cursor>
impl<'cursor> Unpin for CursorValue<'cursor>
impl<'cursor> UnwindSafe for CursorValue<'cursor>
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