pub struct Writer<T>(/* private fields */);
Implementations§
Trait Implementations§
source§impl<'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§
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