pub trait FixedLenBuf: Sized + AsOutBytes {
// Required method
fn uninit() -> Self;
}
Expand description
A buffer with compile-time-known length.
This is essentially Default + AsOutBytes
but supports lengths 1.41 doesn’t.
Required Methods§
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.