pub trait MetadataWithRootHash {
// Required methods
fn root_hash(&self) -> Bytes32;
fn root_hash_only(root_hash: Bytes32) -> Self;
}
Required Methods§
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.