pub trait Storage<H: Hasher>: Send + Sync {
// Required method
fn get(
&self,
key: &H::Out,
prefix: Prefix<'_>,
) -> Result<Option<DBValue>, DefaultError>;
}Expand description
Patricia trie-based storage trait.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".