pub trait Serializable {
// Required method
fn to_tls_bytes(&self) -> MlsSpecResult<Vec<u8>>;
}Expand description
Trait that exposes TLS serialization
Required Methods§
fn to_tls_bytes(&self) -> MlsSpecResult<Vec<u8>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".