Trait MlsCodecExtension

Source
pub trait MlsCodecExtension:
    MlsSize
    + MlsEncode
    + MlsDecode {
    // Required method
    fn extension_type() -> ExtensionType;
}
Expand description

Convenience trait for custom extension types that use mls_rs_codec as an underlying serialization mechanism

Required Methods§

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§