CodecFixed

Trait CodecFixed 

Source
pub trait CodecFixed: Codec + FixedSize { }
Expand description

Convenience trait combining FixedSize and Codec.

Represents types that can be both fully encoded and decoded from a fixed-size byte sequence.

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§