openmls::ciphersuite::signable

Trait SignedStruct

Source
pub trait SignedStruct<T> {
    // Required method
    fn from_payload(payload: T, signature: Signature) -> Self;
}
Expand description

This trait must be implemented by all structs that contain a self-signature.

Required Methods§

Source

fn from_payload(payload: T, signature: Signature) -> Self

Build a signed struct version from the payload struct.

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§