pub trait ToPrefixedLabel: Display {
// Provided method
fn to_prefixed_string(&self, protocol_version: ProtocolVersion) -> String { ... }
}
Expand description
This trait allows implementers to automatically get a MLS-specific representation that takes in account protocol versions and the label format.
For example, the MLS 1.0 format is MLS 1.0 {label}
.