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).
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.