Struct redb::MultimapTableDefinition
source · pub struct MultimapTableDefinition<'a, K: Key + 'static, V: Key + 'static> { /* private fields */ }
Expand description
Defines the name and types of a multimap table
A MultimapTableDefinition
should be opened for use by calling ReadTransaction::open_multimap_table
or WriteTransaction::open_multimap_table
Multimap tables may have multiple values associated with each key
Note that the lifetime of the K
and V
type parameters does not impact the lifetimes of the data
that is stored or retreived from the table
Implementations§
Trait Implementations§
source§impl<'a, K: Key + 'static, V: Key + 'static> MultimapTableHandle for MultimapTableDefinition<'a, K, V>
impl<'a, K: Key + 'static, V: Key + 'static> MultimapTableHandle for MultimapTableDefinition<'a, K, V>
impl<'a, K: Key + 'static, V: Key + 'static> Copy for MultimapTableDefinition<'a, K, V>
Auto Trait Implementations§
impl<'a, K, V> Freeze for MultimapTableDefinition<'a, K, V>
impl<'a, K, V> RefUnwindSafe for MultimapTableDefinition<'a, K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<'a, K, V> Send for MultimapTableDefinition<'a, K, V>
impl<'a, K, V> Sync for MultimapTableDefinition<'a, K, V>
impl<'a, K, V> Unpin for MultimapTableDefinition<'a, K, V>
impl<'a, K, V> UnwindSafe for MultimapTableDefinition<'a, K, V>where
K: UnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)