pub struct Writer<T>(_);
Implementations
sourceimpl<T> Writer<T>where
T: BackendRwTransaction,
impl<T> Writer<T>where
T: BackendRwTransaction,
Trait Implementations
sourceimpl<'r, T> Readable<'r> for Writer<T>where
T: BackendRwCursorTransaction<'r>,
impl<'r, T> Readable<'r> for Writer<T>where
T: BackendRwCursorTransaction<'r>,
type Database = <T as BackendRwTransaction>::Database
type RoCursor = <T as BackendRwCursorTransaction<'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 Writer<T>where
T: RefUnwindSafe,
impl<T> Send for Writer<T>where
T: Send,
impl<T> Sync for Writer<T>where
T: Sync,
impl<T> Unpin for Writer<T>where
T: Unpin,
impl<T> UnwindSafe for Writer<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