pub trait TrieBackendStorage<H: Hasher>: Send + Sync {
    type Overlay: HashDB<H, DBValue> + Default + Consolidate;

    fn get(
        &self,
        key: &H::Out,
        prefix: Prefix<'_>
    ) -> Result<Option<DBValue>, DefaultError>; }
Expand description

Key-value pairs storage that is used by trie backend essence.

Required Associated Types§

Type of in-memory overlay.

Required Methods§

Get the value stored at key.

Implementations on Foreign Types§

Implementors§