pub trait BlockHeaderKey {
type Value: BinaryValue;
const NAME: &'static str;
}
Expand description
Trait that represents a key in block header entry map. Provides
a mapping between NAME
of the entry and its value.
§Examples
See Block::get_entry()
.
Required Associated Constants§
Required Associated Types§
Sourcetype Value: BinaryValue
type Value: BinaryValue
Type of the value associated with this key.
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.