[][src]Trait sp_state_machine::Storage

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

Patricia trie-based storage trait.

Required methods

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

Get a trie node.

Loading content...

Implementors

Loading content...