Preview of the proposed up-rust native-frame-model branch (up-rust b6b99c6d, up-spec f0e9b17) — not released documentation. branch · write-up

Trait UWireMetadataCodecFor

Source
pub trait UWireMetadataCodecFor<W>: UWireMetadataCodec
where W: UWire,
{ }
Expand description

Metadata codec that is statically compatible with selected wire W.

This marker keeps the ordinary metadata codec contract reusable while allowing adapter constructors to reject invalid wire/codec pairings at compile time.

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§