Trait sp_state_machine::Storage[][src]

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

Patricia trie-based storage trait.

Required methods

Get a trie node.

Implementors