pub trait SizeBytes {
const SIZE_BYTES: usize;
}Expand description
Types that have a constant size when written to or read from bytes.
Required Associated Constants§
const SIZE_BYTES: usize
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.