Struct redb::ReadOnlyMultimapTable
source · pub struct ReadOnlyMultimapTable<'txn, K: RedbKey + ?Sized, V: RedbKey + ?Sized> { /* private fields */ }
Expand description
A read-only multimap table
Trait Implementations§
source§impl<'txn, K: RedbKey + ?Sized, V: RedbKey + ?Sized> ReadableMultimapTable<K, V> for ReadOnlyMultimapTable<'txn, K, V>
impl<'txn, K: RedbKey + ?Sized, V: RedbKey + ?Sized> ReadableMultimapTable<K, V> for ReadOnlyMultimapTable<'txn, K, V>
source§fn get<'a>(
&'a self,
key: impl Borrow<K::RefBaseType<'a>>
) -> Result<MultimapValueIter<'a, V>, Error>
fn get<'a>(
&'a self,
key: impl Borrow<K::RefBaseType<'a>>
) -> Result<MultimapValueIter<'a, V>, Error>
Returns an iterator over all values for the given key. Values are in ascending order.