CodecFixedShared

Trait CodecFixedShared 

Source
pub trait CodecFixedShared:
    CodecFixed<Cfg = ()>
    + Send
    + Sync { }
Expand description

Convenience trait combining CodecFixed with thread-safety bounds and unit config.

Represents fixed-size types that can be fully encoded/decoded, require no configuration, and can be safely shared across threads.

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§

Source§

impl<T: CodecFixed<Cfg = ()> + Send + Sync> CodecFixedShared for T