pub struct Reader<T>(_);
Implementations
sourceimpl<T> Reader<T>where
T: BackendRoTransaction,
impl<T> Reader<T>where
T: BackendRoTransaction,
Trait Implementations
sourceimpl<'r, T> Readable<'r> for Reader<T>where
T: BackendRoCursorTransaction<'r>,
impl<'r, T> Readable<'r> for Reader<T>where
T: BackendRoCursorTransaction<'r>,
type Database = <T as BackendRoTransaction>::Database
type RoCursor = <T as BackendRoCursorTransaction<'r>>::RoCursor
fn get<K>(
&'r self,
db: &T::Database,
k: &K
) -> Result<Option<Value<'r>>, StoreError>where
K: AsRef<[u8]>,
fn open_ro_cursor(&'r self, db: &T::Database) -> Result<T::RoCursor, StoreError>
Auto Trait Implementations
impl<T> RefUnwindSafe for Reader<T>where
T: RefUnwindSafe,
impl<T> Send for Reader<T>where
T: Send,
impl<T> Sync for Reader<T>where
T: Sync,
impl<T> Unpin for Reader<T>where
T: Unpin,
impl<T> UnwindSafe for Reader<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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