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>; }

Patricia trie-based storage trait.

Required methods

fn get(
    &self,
    key: &H::Out,
    prefix: Prefix<'_>
) -> Result<Option<DBValue>, DefaultError>
[src]

Get a trie node.

Loading content...

Implementors

Loading content...