[][src]Trait sp_state_machine::Storage

pub trait Storage<H: Hasher>: Send + Sync {
    fn get(
        &self,
        key: &H::Out,
        prefix: Prefix
    ) -> Result<Option<DBValue>, String>; }

Patricia trie-based storage trait.

Required methods

fn get(&self, key: &H::Out, prefix: Prefix) -> Result<Option<DBValue>, String>

Get a trie node.

Loading content...

Implementors

Loading content...