pub trait BlockMetaStorageRO {
// Required method
fn block_meta(&self, block_hash: H256) -> BlockMeta;
}Required Methods§
Sourcefn block_meta(&self, block_hash: H256) -> BlockMeta
fn block_meta(&self, block_hash: H256) -> BlockMeta
NOTE: if BlockMeta doesn’t exist in the database, it will return the default value.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".