Trait sp_state_machine::TrieBackendStorage[][src]

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.

Associated Types

Type of in-memory overlay.

Required methods

Get the value stored at key.

Implementations on Foreign Types

Implementors