pub struct MultimapTable<'db, 'txn, K: RedbKey + ?Sized, V: RedbKey + ?Sized> { /* private fields */ }
Expand description

A multimap table

Multimap tables may have multiple values associated with each key

Implementations

Add the given value to the mapping of the key

Returns true if the key-value pair was present

Removes the given key-value pair

Returns true if the key-value pair was present

Removes all values for the given key

Returns an iterator over the removed values

Trait Implementations

Executes the destructor for this type. Read more

Returns an iterator over all values for the given key

Returns a double-ended iterator over a range of elements in the table

Returns the number of key-value pairs in the table

Returns true if the table is empty

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.