pub enum MultimapTableHandle<'a, K: Key + 'static, V: Key + 'static> {
Write(MultimapTable<'a, K, V>),
Read(ReadOnlyMultimapTable<K, V>),
}Variants§
Write(MultimapTable<'a, K, V>)
Read(ReadOnlyMultimapTable<K, V>)
Implementations§
Source§impl<'a, K: Key + 'static, V: Key + 'static> MultimapTableHandle<'a, K, V>
impl<'a, K: Key + 'static, V: Key + 'static> MultimapTableHandle<'a, K, V>
pub fn get<'k>( &self, key: impl Borrow<K::SelfType<'k>>, ) -> Result<MultimapValue<'_, V>, StorageError>
pub fn iter(&self) -> Result<MultimapRange<'_, K, V>, StorageError>
Auto Trait Implementations§
impl<'a, K, V> !RefUnwindSafe for MultimapTableHandle<'a, K, V>
impl<'a, K, V> !UnwindSafe for MultimapTableHandle<'a, K, V>
impl<'a, K, V> Freeze for MultimapTableHandle<'a, K, V>
impl<'a, K, V> Send for MultimapTableHandle<'a, K, V>
impl<'a, K, V> Sync for MultimapTableHandle<'a, K, V>
impl<'a, K, V> Unpin for MultimapTableHandle<'a, K, V>
impl<'a, K, V> UnsafeUnpin for MultimapTableHandle<'a, K, V>
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