Enum coset::iana::SymmetricKeyParameter
source · #[non_exhaustive]pub enum SymmetricKeyParameter {
K,
}
Expand description
IANA-registered COSE key parameters for keys of type KeyType::Symmetric
.
From IANA registry https://www.iana.org/assignments/cose/cose.xhtml#key-type-parameters as of 2021-03-19.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
K
Key Value
Associated value of type bstr
Trait Implementations§
source§impl Clone for SymmetricKeyParameter
impl Clone for SymmetricKeyParameter
source§fn clone(&self) -> SymmetricKeyParameter
fn clone(&self) -> SymmetricKeyParameter
Returns a copy 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 SymmetricKeyParameter
impl Debug for SymmetricKeyParameter
source§impl EnumI64 for SymmetricKeyParameter
impl EnumI64 for SymmetricKeyParameter
source§impl Ord for SymmetricKeyParameter
impl Ord for SymmetricKeyParameter
source§fn cmp(&self, other: &SymmetricKeyParameter) -> Ordering
fn cmp(&self, other: &SymmetricKeyParameter) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<SymmetricKeyParameter> for SymmetricKeyParameter
impl PartialEq<SymmetricKeyParameter> for SymmetricKeyParameter
source§fn eq(&self, other: &SymmetricKeyParameter) -> bool
fn eq(&self, other: &SymmetricKeyParameter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SymmetricKeyParameter> for SymmetricKeyParameter
impl PartialOrd<SymmetricKeyParameter> for SymmetricKeyParameter
source§fn partial_cmp(&self, other: &SymmetricKeyParameter) -> Option<Ordering>
fn partial_cmp(&self, other: &SymmetricKeyParameter) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SymmetricKeyParameter
impl Eq for SymmetricKeyParameter
impl StructuralEq for SymmetricKeyParameter
impl StructuralPartialEq for SymmetricKeyParameter
Auto Trait Implementations§
impl RefUnwindSafe for SymmetricKeyParameter
impl Send for SymmetricKeyParameter
impl Sync for SymmetricKeyParameter
impl Unpin for SymmetricKeyParameter
impl UnwindSafe for SymmetricKeyParameter
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