pub unsafe trait Frame: Sealed { }
Expand description
A verbatim frame that can be stored and loaded from a buffer.
This is implemented for primitives Copy
types such as u32
.
§Safety
This asserts that the implementor is repr(C)
, and can inhabit any bit
pattern.
Any type implementing Frame
must have an alignment of at most 8
.
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.