#[repr(u8)]pub enum ComponentOperationBaseLabel {
MlsComponent,
Custom(String),
}Available on crate feature
draft-ietf-mls-extensions only.Variants§
Trait Implementations§
Source§impl Clone for ComponentOperationBaseLabel
impl Clone for ComponentOperationBaseLabel
Source§fn clone(&self) -> ComponentOperationBaseLabel
fn clone(&self) -> ComponentOperationBaseLabel
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 ComponentOperationBaseLabel
impl Debug for ComponentOperationBaseLabel
Source§impl Default for ComponentOperationBaseLabel
impl Default for ComponentOperationBaseLabel
Source§fn default() -> ComponentOperationBaseLabel
fn default() -> ComponentOperationBaseLabel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ComponentOperationBaseLabel
impl<'de> Deserialize<'de> for ComponentOperationBaseLabel
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 Deserialize for ComponentOperationBaseLabel
impl Deserialize for ComponentOperationBaseLabel
Source§fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>where
Self: Sized,
fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>where
Self: Sized,
Available on crate feature
std only.This function deserializes the
bytes from the provided a std::io::Read
and returns the populated struct. Read moreSource§impl<'_derivative_strum> From<&'_derivative_strum ComponentOperationBaseLabel> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum ComponentOperationBaseLabel> for &'static str
Source§fn from(x: &'_derivative_strum ComponentOperationBaseLabel) -> &'static str
fn from(x: &'_derivative_strum ComponentOperationBaseLabel) -> &'static str
Converts to this type from the input type.
Source§impl From<ComponentOperationBaseLabel> for &'static str
impl From<ComponentOperationBaseLabel> for &'static str
Source§fn from(x: ComponentOperationBaseLabel) -> &'static str
fn from(x: ComponentOperationBaseLabel) -> &'static str
Converts to this type from the input type.
Source§impl Serialize for ComponentOperationBaseLabel
impl Serialize for ComponentOperationBaseLabel
Source§impl Size for ComponentOperationBaseLabel
impl Size for ComponentOperationBaseLabel
fn tls_serialized_len(&self) -> usize
Source§impl TryFrom<&str> for ComponentOperationBaseLabel
impl TryFrom<&str> for ComponentOperationBaseLabel
impl Eq for ComponentOperationBaseLabel
impl StructuralPartialEq for ComponentOperationBaseLabel
Auto Trait Implementations§
impl Freeze for ComponentOperationBaseLabel
impl RefUnwindSafe for ComponentOperationBaseLabel
impl Send for ComponentOperationBaseLabel
impl Sync for ComponentOperationBaseLabel
impl Unpin for ComponentOperationBaseLabel
impl UnsafeUnpin for ComponentOperationBaseLabel
impl UnwindSafe for ComponentOperationBaseLabel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more