#[repr(u32)]#[non_exhaustive]pub enum coap_asn1_privatekey_type_t {
Show 15 variants
COAP_ASN1_PKEY_NONE,
COAP_ASN1_PKEY_RSA,
COAP_ASN1_PKEY_RSA2,
COAP_ASN1_PKEY_DSA,
COAP_ASN1_PKEY_DSA1,
COAP_ASN1_PKEY_DSA2,
COAP_ASN1_PKEY_DSA3,
COAP_ASN1_PKEY_DSA4,
COAP_ASN1_PKEY_DH,
COAP_ASN1_PKEY_DHX,
COAP_ASN1_PKEY_EC,
COAP_ASN1_PKEY_HMAC,
COAP_ASN1_PKEY_CMAC,
COAP_ASN1_PKEY_TLS1_PRF,
COAP_ASN1_PKEY_HKDF,
}
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.
COAP_ASN1_PKEY_NONE
COAP_ASN1_PKEY_RSA
COAP_ASN1_PKEY_RSA2
COAP_ASN1_PKEY_DSA
COAP_ASN1_PKEY_DSA1
COAP_ASN1_PKEY_DSA2
COAP_ASN1_PKEY_DSA3
COAP_ASN1_PKEY_DSA4
COAP_ASN1_PKEY_DH
COAP_ASN1_PKEY_DHX
COAP_ASN1_PKEY_EC
COAP_ASN1_PKEY_HMAC
COAP_ASN1_PKEY_CMAC
COAP_ASN1_PKEY_TLS1_PRF
COAP_ASN1_PKEY_HKDF
Trait Implementations§
source§impl Clone for coap_asn1_privatekey_type_t
impl Clone for coap_asn1_privatekey_type_t
source§fn clone(&self) -> coap_asn1_privatekey_type_t
fn clone(&self) -> coap_asn1_privatekey_type_t
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 coap_asn1_privatekey_type_t
impl Debug for coap_asn1_privatekey_type_t
source§impl Hash for coap_asn1_privatekey_type_t
impl Hash for coap_asn1_privatekey_type_t
source§impl PartialEq<coap_asn1_privatekey_type_t> for coap_asn1_privatekey_type_t
impl PartialEq<coap_asn1_privatekey_type_t> for coap_asn1_privatekey_type_t
source§fn eq(&self, other: &coap_asn1_privatekey_type_t) -> bool
fn eq(&self, other: &coap_asn1_privatekey_type_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for coap_asn1_privatekey_type_t
impl Eq for coap_asn1_privatekey_type_t
impl StructuralEq for coap_asn1_privatekey_type_t
impl StructuralPartialEq for coap_asn1_privatekey_type_t
Auto Trait Implementations§
impl RefUnwindSafe for coap_asn1_privatekey_type_t
impl Send for coap_asn1_privatekey_type_t
impl Sync for coap_asn1_privatekey_type_t
impl Unpin for coap_asn1_privatekey_type_t
impl UnwindSafe for coap_asn1_privatekey_type_t
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