pub trait Component: Parsable + Serializable {
// Required method
fn component_id() -> ComponentId;
// Provided methods
fn psk(psk_id: Vec<u8>, psk_nonce: SensitiveBytes) -> PreSharedKeyId { ... }
fn to_component_data(&self) -> MlsSpecResult<ComponentData> { ... }
}
Available on crate feature
draft-ietf-mls-extensions
only.Required Methods§
fn component_id() -> ComponentId
Provided Methods§
fn psk(psk_id: Vec<u8>, psk_nonce: SensitiveBytes) -> PreSharedKeyId
fn to_component_data(&self) -> MlsSpecResult<ComponentData>
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§
impl Component for AssociatedParties
Available on crate feature
draft-kohbrok-mls-associated-parties
only.impl Component for HpqMlsInfo
Available on crate feature
draft-ietf-mls-combiner
only.impl Component for ExternalReceivers
Available on crate feature
draft-mahy-mls-semiprivatemessage
only.