[][src]Crate hash_db

Database of byte-slices keyed to their hash.

Statics

EMPTY_PREFIX

Empty prefix constant.

Traits

AsHashDB

Upcast trait for HashDB.

AsPlainDB

Upcast trait for PlainDB.

HashDB

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

HashDBRef

Trait for immutable reference of HashDB.

Hasher

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.

MaybeDebug
PlainDB

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

PlainDBRef

Trait for immutable reference of PlainDB.

Type Definitions

Prefix

Prefix byte information for avoding rc.