#[repr(u8)]pub enum PublicKeyEncryptionLabel {
UpdatePathNode = 0,
Welcome = 1,
SafeApp = 2,
SemiPrivateMessageReceiver = 3,
}
Expand description
Labels for MLS HPKE contexts.
Variants§
UpdatePathNode = 0
Welcome = 1
SafeApp = 2
Available on crate feature
draft-ietf-mls-extensions
only.SemiPrivateMessageReceiver = 3
Available on crate feature
draft-mahy-mls-semiprivatemessage
only.Trait Implementations§
Source§impl AsRef<str> for PublicKeyEncryptionLabel
impl AsRef<str> for PublicKeyEncryptionLabel
Source§impl Clone for PublicKeyEncryptionLabel
impl Clone for PublicKeyEncryptionLabel
Source§fn clone(&self) -> PublicKeyEncryptionLabel
fn clone(&self) -> PublicKeyEncryptionLabel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PublicKeyEncryptionLabel
impl Debug for PublicKeyEncryptionLabel
Source§impl<'de> Deserialize<'de> for PublicKeyEncryptionLabel
impl<'de> Deserialize<'de> for PublicKeyEncryptionLabel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PublicKeyEncryptionLabel
impl Display for PublicKeyEncryptionLabel
Source§impl<'_derivative_strum> From<&'_derivative_strum PublicKeyEncryptionLabel> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum PublicKeyEncryptionLabel> for &'static str
Source§fn from(x: &'_derivative_strum PublicKeyEncryptionLabel) -> &'static str
fn from(x: &'_derivative_strum PublicKeyEncryptionLabel) -> &'static str
Converts to this type from the input type.
Source§impl From<PublicKeyEncryptionLabel> for &'static str
impl From<PublicKeyEncryptionLabel> for &'static str
Source§fn from(x: PublicKeyEncryptionLabel) -> &'static str
fn from(x: PublicKeyEncryptionLabel) -> &'static str
Converts to this type from the input type.
Source§impl FromStr for PublicKeyEncryptionLabel
impl FromStr for PublicKeyEncryptionLabel
Source§impl Hash for PublicKeyEncryptionLabel
impl Hash for PublicKeyEncryptionLabel
Source§impl PartialEq for PublicKeyEncryptionLabel
impl PartialEq for PublicKeyEncryptionLabel
Source§impl Serialize for PublicKeyEncryptionLabel
impl Serialize for PublicKeyEncryptionLabel
Source§impl ToPrefixedLabel for PublicKeyEncryptionLabel
impl ToPrefixedLabel for PublicKeyEncryptionLabel
fn to_prefixed_string(&self, protocol_version: ProtocolVersion) -> String
Source§impl TryFrom<&str> for PublicKeyEncryptionLabel
impl TryFrom<&str> for PublicKeyEncryptionLabel
impl Eq for PublicKeyEncryptionLabel
impl StructuralPartialEq for PublicKeyEncryptionLabel
Auto Trait Implementations§
impl Freeze for PublicKeyEncryptionLabel
impl RefUnwindSafe for PublicKeyEncryptionLabel
impl Send for PublicKeyEncryptionLabel
impl Sync for PublicKeyEncryptionLabel
impl Unpin for PublicKeyEncryptionLabel
impl UnwindSafe for PublicKeyEncryptionLabel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more