pub enum CoseAlgorithmIdentifier {
Es256,
Es384,
Es512,
Rs256,
Rs384,
Rs512,
Ps256,
Ps384,
Ps512,
}
Expand description
CoseAlgorithmIdentifier : A number identifying a cryptographic algorithm. Values should be registered with the <a href="https:www.iana.orgassignmentscosecose.xhtml#algorithms">IANA COSE Algorithms registry A number identifying a cryptographic algorithm. Values should be registered with the <a href="https:www.iana.orgassignmentscosecose.xhtml#algorithms">IANA COSE Algorithms registry
Variants§
Trait Implementations§
source§impl Clone for CoseAlgorithmIdentifier
impl Clone for CoseAlgorithmIdentifier
source§fn clone(&self) -> CoseAlgorithmIdentifier
fn clone(&self) -> CoseAlgorithmIdentifier
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 CoseAlgorithmIdentifier
impl Debug for CoseAlgorithmIdentifier
source§impl Default for CoseAlgorithmIdentifier
impl Default for CoseAlgorithmIdentifier
source§fn default() -> CoseAlgorithmIdentifier
fn default() -> CoseAlgorithmIdentifier
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CoseAlgorithmIdentifier
impl<'de> Deserialize<'de> for CoseAlgorithmIdentifier
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 Hash for CoseAlgorithmIdentifier
impl Hash for CoseAlgorithmIdentifier
source§impl Ord for CoseAlgorithmIdentifier
impl Ord for CoseAlgorithmIdentifier
source§fn cmp(&self, other: &CoseAlgorithmIdentifier) -> Ordering
fn cmp(&self, other: &CoseAlgorithmIdentifier) -> 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 for CoseAlgorithmIdentifier
impl PartialEq for CoseAlgorithmIdentifier
source§fn eq(&self, other: &CoseAlgorithmIdentifier) -> bool
fn eq(&self, other: &CoseAlgorithmIdentifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CoseAlgorithmIdentifier
impl PartialOrd for CoseAlgorithmIdentifier
source§fn partial_cmp(&self, other: &CoseAlgorithmIdentifier) -> Option<Ordering>
fn partial_cmp(&self, other: &CoseAlgorithmIdentifier) -> 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 moresource§impl Serialize for CoseAlgorithmIdentifier
impl Serialize for CoseAlgorithmIdentifier
source§impl ToString for CoseAlgorithmIdentifier
impl ToString for CoseAlgorithmIdentifier
impl Copy for CoseAlgorithmIdentifier
impl Eq for CoseAlgorithmIdentifier
impl StructuralPartialEq for CoseAlgorithmIdentifier
Auto Trait Implementations§
impl RefUnwindSafe for CoseAlgorithmIdentifier
impl Send for CoseAlgorithmIdentifier
impl Sync for CoseAlgorithmIdentifier
impl Unpin for CoseAlgorithmIdentifier
impl UnwindSafe for CoseAlgorithmIdentifier
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.