Skip to main content

Serializable

Trait Serializable 

Source
pub trait Serializable {
    // Required method
    fn to_tls_bytes(&self) -> MlsSpecResult<Vec<u8>>;
}
Expand description

Trait that exposes TLS serialization

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> Serializable for T
where T: Serialize,