Expand description

Database of byte-slices keyed to their hash.

Traits

Upcast trait for HashDB.

Upcast trait for PlainDB.

Trait modelling datastore keyed by a hash defined by the Hasher.

Trait for immutable reference of HashDB.

Trait describing an object that can hash a slice of bytes. Used to abstract other types over the hashing algorithm. Defines a single hash method and an Out associated type with the necessary bounds.

Trait modelling a plain datastore whose key is a fixed type. The caller should ensure that a key only corresponds to one value.

Trait for immutable reference of PlainDB.