Trait CodecEncode

Source
pub trait CodecEncode:
    Serialize
    + Encode
    + Encode { }
Expand description

Encoder trait for encoding a value into any supported format.

Note that feature flags affect this trait differently than normal. In this case, feature flags further restrict the trait instead of being additive. This may change in the future.

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> CodecEncode for T
where T: Serialize + Encode + Encode,