pub struct BytesKeysOptions<'env, V> { /* private fields */ }Expand description
Options for databases with byte keys and serialized values
Implementations§
Source§impl<V> BytesKeysOptions<'_, V>where
V: Serialize + for<'de> Deserialize<'de> + 'static,
impl<V> BytesKeysOptions<'_, V>where
V: Serialize + for<'de> Deserialize<'de> + 'static,
Sourcepub fn create(
self,
txn: &mut RwTxn<'_>,
) -> Result<ScopedBytesKeyDatabase<V>, ScopedDbError>
pub fn create( self, txn: &mut RwTxn<'_>, ) -> Result<ScopedBytesKeyDatabase<V>, ScopedDbError>
Create the database with the current transaction
Auto Trait Implementations§
impl<'env, V> Freeze for BytesKeysOptions<'env, V>
impl<'env, V> RefUnwindSafe for BytesKeysOptions<'env, V>where
V: RefUnwindSafe,
impl<'env, V> Send for BytesKeysOptions<'env, V>where
V: Send,
impl<'env, V> Sync for BytesKeysOptions<'env, V>where
V: Sync,
impl<'env, V> Unpin for BytesKeysOptions<'env, V>where
V: Unpin,
impl<'env, V> UnsafeUnpin for BytesKeysOptions<'env, V>
impl<'env, V> UnwindSafe for BytesKeysOptions<'env, V>where
V: 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