#[non_exhaustive]pub enum CoseAlgorithm {
Es256,
}Expand description
COSE algorithms accepted for credential public keys.
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.
Es256
ECDSA over P-256 with SHA-256.
Implementations§
Trait Implementations§
Source§impl Clone for CoseAlgorithm
impl Clone for CoseAlgorithm
impl Copy for CoseAlgorithm
Source§impl Debug for CoseAlgorithm
impl Debug for CoseAlgorithm
Source§impl<'de> Deserialize<'de> for CoseAlgorithm
impl<'de> Deserialize<'de> for CoseAlgorithm
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
impl Eq for CoseAlgorithm
Source§impl PartialEq for CoseAlgorithm
impl PartialEq for CoseAlgorithm
Source§impl Serialize for CoseAlgorithm
impl Serialize for CoseAlgorithm
impl StructuralPartialEq for CoseAlgorithm
Auto Trait Implementations§
impl Freeze for CoseAlgorithm
impl RefUnwindSafe for CoseAlgorithm
impl Send for CoseAlgorithm
impl Sync for CoseAlgorithm
impl Unpin for CoseAlgorithm
impl UnsafeUnpin for CoseAlgorithm
impl UnwindSafe for CoseAlgorithm
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