pub trait SupportedFixedBytes: Sealed {
const NAME: &'static str;
}
Expand description
Statically guarantees that a FixedBytes
byte count is marked as supported.
This trait is sealed: the list of implementors below is total.
Users do not have the ability to mark additional ByteCount<N>
values as
supported. Only FixedBytes
with supported byte counts are constructable.
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.