Skip to main content

LayoutSnapshotWord

Trait LayoutSnapshotWord 

Source
pub trait LayoutSnapshotWord:
    LayoutSnapshotWord
    + LayoutWord
    + FromBytes
    + Immutable
    + IntoBytes
    + KnownLayout { }
Expand description

A little-endian storage word usable in persisted snapshot payloads.

Sealed marker over LayoutWord plus the zerocopy byte-view bounds. 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".

Implementations on Foreign Types§

Source§

impl LayoutSnapshotWord for U16<LittleEndian>

Source§

impl LayoutSnapshotWord for U32<LittleEndian>

Source§

impl LayoutSnapshotWord for U64<LittleEndian>

Implementors§