pub struct Multimap<'a, BS>(_, _);
Expand description

Multimap stores multiple values per key in a Hamt of Amts. The order of insertion of values for each key is retained.

Implementations

Initializes a new empty multimap. The outer_bitwidth is the width of the HAMT and the inner_bitwidth is the width of the AMTs inside of it.

Initializes a multimap from a root Cid

Retrieve root from the multimap.

Adds a value for a key.

Gets the Array of value type V using the multimap store.

Removes all values for a key.

Iterates through all values in the array at a given key.

Iterates through all arrays in the multimap

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

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

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.