pub trait EthMappingsStoreExt {
// Required methods
fn read_obj<V: DeserializeOwned>(&self, key: &EthHash) -> Result<Option<V>>;
fn write_obj<V: Serialize>(&self, key: &EthHash, value: &V) -> Result<()>;
}Required Methods§
fn read_obj<V: DeserializeOwned>(&self, key: &EthHash) -> Result<Option<V>>
fn write_obj<V: Serialize>(&self, key: &EthHash, value: &V) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.