Trait sp_state_machine::TrieBackendStorage [−][src]
pub trait TrieBackendStorage<H: Hasher>: Send + Sync { type Overlay: HashDB<H, DBValue> + Default + Consolidate; fn get(
&self,
key: &H::Out,
prefix: Prefix<'_>
) -> Result<Option<DBValue>, DefaultError>; }
Expand description
Key-value pairs storage that is used by trie backend essence.
Associated Types
type Overlay: HashDB<H, DBValue> + Default + Consolidate
type Overlay: HashDB<H, DBValue> + Default + Consolidate
Type of in-memory overlay.
Required methods
Implementations on Foreign Types
type Overlay = PrefixedMemoryDB<H>
type Overlay = PrefixedMemoryDB<H>