Type Alias sp_trie::MemoryDB

source ·
pub type MemoryDB<H> = MemoryDB<H, HashKey<H>, DBValue>;
Expand description

Reexport from hash_db, with genericity set for Hasher trait. This uses a noops KeyFunction (key addressing must be hashed or using an encoding scheme that avoid key conflict).

Aliased Type§

struct MemoryDB<H> { /* private fields */ }

Trait Implementations§

source§

impl<H: Hasher> From<&StorageProof> for MemoryDB<H>

source§

fn from(proof: &StorageProof) -> Self

Converts to this type from the input type.
source§

impl<H: Hasher> From<StorageProof> for MemoryDB<H>

source§

fn from(proof: StorageProof) -> Self

Converts to this type from the input type.