[−][src]Trait sp_state_machine::TrieBackendStorage
Key-value pairs storage that is used by trie backend essence.
Associated Types
Required methods
fn get(
&self,
key: &H::Out,
prefix: Prefix<'_>
) -> Result<Option<DBValue>, String>[−]
&self,
key: &H::Out,
prefix: Prefix<'_>
) -> Result<Option<DBValue>, String>
Get the value stored at key.
Implementations on Foreign Types
impl<H: Hasher> TrieBackendStorage<H> for Arc<dyn Storage<H>>[src][−]
type Overlay = PrefixedMemoryDB<H>
fn get(
&self,
key: &H::Out,
prefix: Prefix<'_>
) -> Result<Option<DBValue>, String>[src]
&self,
key: &H::Out,
prefix: Prefix<'_>
) -> Result<Option<DBValue>, String>
impl<H: Hasher> TrieBackendStorage<H> for PrefixedMemoryDB<H>[src][−]
type Overlay = PrefixedMemoryDB<H>
fn get(
&self,
key: &H::Out,
prefix: Prefix<'_>
) -> Result<Option<DBValue>, String>[src]
&self,
key: &H::Out,
prefix: Prefix<'_>
) -> Result<Option<DBValue>, String>