Enum coset::iana::HssLmsKeyParameter
source · #[non_exhaustive]pub enum HssLmsKeyParameter {
Pub,
}
Expand description
IANA-registered COSE key parameters for keys of type KeyType::HSS_LMS
.
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.
Pub
Public key for HSS/LMS hash-based digital signature
Associated value of type bstr
Trait Implementations§
source§impl Clone for HssLmsKeyParameter
impl Clone for HssLmsKeyParameter
source§fn clone(&self) -> HssLmsKeyParameter
fn clone(&self) -> HssLmsKeyParameter
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 HssLmsKeyParameter
impl Debug for HssLmsKeyParameter
source§impl EnumI64 for HssLmsKeyParameter
impl EnumI64 for HssLmsKeyParameter
source§impl Ord for HssLmsKeyParameter
impl Ord for HssLmsKeyParameter
source§fn cmp(&self, other: &HssLmsKeyParameter) -> Ordering
fn cmp(&self, other: &HssLmsKeyParameter) -> 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<HssLmsKeyParameter> for HssLmsKeyParameter
impl PartialEq<HssLmsKeyParameter> for HssLmsKeyParameter
source§fn eq(&self, other: &HssLmsKeyParameter) -> bool
fn eq(&self, other: &HssLmsKeyParameter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<HssLmsKeyParameter> for HssLmsKeyParameter
impl PartialOrd<HssLmsKeyParameter> for HssLmsKeyParameter
source§fn partial_cmp(&self, other: &HssLmsKeyParameter) -> Option<Ordering>
fn partial_cmp(&self, other: &HssLmsKeyParameter) -> 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 HssLmsKeyParameter
impl Eq for HssLmsKeyParameter
impl StructuralEq for HssLmsKeyParameter
impl StructuralPartialEq for HssLmsKeyParameter
Auto Trait Implementations§
impl RefUnwindSafe for HssLmsKeyParameter
impl Send for HssLmsKeyParameter
impl Sync for HssLmsKeyParameter
impl Unpin for HssLmsKeyParameter
impl UnwindSafe for HssLmsKeyParameter
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