pub type MemoryDB<H, RS = RandomState> = MemoryDB<H, HashKey<H>, DBValue, RS>;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, RS = RandomState> { /* private fields */ }Trait Implementations§
Source§impl<H: Hasher> From<&StorageProof> for MemoryDB<H>
 
impl<H: Hasher> From<&StorageProof> for MemoryDB<H>
Source§fn from(proof: &StorageProof) -> Self
 
fn from(proof: &StorageProof) -> Self
Converts to this type from the input type.
Source§impl<H: Hasher> From<StorageProof> for MemoryDB<H>
 
impl<H: Hasher> From<StorageProof> for MemoryDB<H>
Source§fn from(proof: StorageProof) -> Self
 
fn from(proof: StorageProof) -> Self
Converts to this type from the input type.