pub trait ConstrainedBlockHashSize: SealedBlockHashSize {
const SIZE: usize;
}Expand description
A trait to constrain block hash size.
This type is implemented for BlockHashSize with following sizes:
Note that this trait is intentionally designed to be non-extensible (using the sealed trait pattern).
Required Associated Constants§
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.