Struct mdbx::db::Db [−][src]
Tuple Fields
0: PtrTx
1: MDBX_dbi
Implementations
Trait Implementations
fn put<RK: AsRef<[u8]>, RV: AsRef<[u8]>>(
&self,
key: impl ToAsRef<K, RK>,
val: impl ToAsRef<V, RV>,
flag: PUT
) -> Result<()>
fn set<RK: AsRef<[u8]>, RV: AsRef<[u8]>>(
&self,
key: impl ToAsRef<K, RK>,
val: impl ToAsRef<V, RV>
) -> Result<()>
delete a key , if database has flag DUPSORT will delete all items in the key
Auto Trait Implementations
impl<Kind, K, V> RefUnwindSafe for Db<Kind, K, V> where
K: RefUnwindSafe,
Kind: RefUnwindSafe,
V: RefUnwindSafe,
impl<Kind, K, V> UnwindSafe for Db<Kind, K, V> where
K: UnwindSafe,
Kind: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more