Skip to main content

SizeBytes

Trait SizeBytes 

Source
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§

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.

Implementors§