pub trait LayoutSnapshotWord:
LayoutSnapshotWord
+ LayoutWord
+ FromBytes
+ Immutable
+ IntoBytes
+ KnownLayout
+ Unaligned { }Expand description
A little-endian storage word usable in persisted snapshot payloads.
Sealed marker over LayoutWord plus the zerocopy byte-view bounds,
including Unaligned — persisted words are byte-aligned by design, so
generic wire records composed of them stay padding-free. Only the explicit
little-endian words implement it — native integers are excluded so
persisted payloads always carry a defined byte order.
§Performance
perf: unspecified; this is a marker trait.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".