[−][src]Trait rkv::Readable
Associated Types
type Database: BackendDatabase
type RoCursor: BackendRoCursor<'r>
Required methods
fn get<K>(
&'r self,
db: &Self::Database,
k: &K
) -> Result<Option<Value<'r>>, StoreError> where
K: AsRef<[u8]>,
&'r self,
db: &Self::Database,
k: &K
) -> Result<Option<Value<'r>>, StoreError> where
K: AsRef<[u8]>,
fn open_ro_cursor(
&'r self,
db: &Self::Database
) -> Result<Self::RoCursor, StoreError>
&'r self,
db: &Self::Database
) -> Result<Self::RoCursor, StoreError>
Implementors
impl<'r, T> Readable<'r> for Reader<T> where
T: BackendRoCursorTransaction<'r>,
[src]
T: BackendRoCursorTransaction<'r>,
type Database = T::Database
type RoCursor = T::RoCursor
fn get<K>(
&'r self,
db: &T::Database,
k: &K
) -> Result<Option<Value<'r>>, StoreError> where
K: AsRef<[u8]>,
[src]
&'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>
[src]
impl<'r, T> Readable<'r> for Writer<T> where
T: BackendRwCursorTransaction<'r>,
[src]
T: BackendRwCursorTransaction<'r>,