pub trait HashStorageRO {
// Required method
fn read_by_hash(&self, hash: H256) -> Option<Vec<u8>>;
}Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
pub trait HashStorageRO {
// Required method
fn read_by_hash(&self, hash: H256) -> Option<Vec<u8>>;
}This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".