#[non_exhaustive]#[repr(u32)]pub enum dtls_cipher_t {
TLS_NULL_WITH_NULL_NULL = 0,
TLS_EMPTY_RENEGOTIATION_INFO_SCSV = 255,
TLS_PSK_WITH_AES_128_CCM = 49_316,
TLS_PSK_WITH_AES_128_CCM_8 = 49_320,
TLS_ECDHE_ECDSA_WITH_AES_128_CCM = 49_324,
TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8 = 49_326,
}Expand description
Known cipher suites.
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.
TLS_NULL_WITH_NULL_NULL = 0
< NULL cipher
TLS_EMPTY_RENEGOTIATION_INFO_SCSV = 255
< see RFC 5746
TLS_PSK_WITH_AES_128_CCM = 49_316
< see RFC 6655
TLS_PSK_WITH_AES_128_CCM_8 = 49_320
< see RFC 6655
TLS_ECDHE_ECDSA_WITH_AES_128_CCM = 49_324
< see RFC 7251
TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8 = 49_326
< see RFC 7251
Trait Implementations§
Source§impl Clone for dtls_cipher_t
impl Clone for dtls_cipher_t
Source§fn clone(&self) -> dtls_cipher_t
fn clone(&self) -> dtls_cipher_t
Returns a duplicate 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 dtls_cipher_t
impl Debug for dtls_cipher_t
Source§impl Hash for dtls_cipher_t
impl Hash for dtls_cipher_t
Source§impl PartialEq for dtls_cipher_t
impl PartialEq for dtls_cipher_t
impl Copy for dtls_cipher_t
impl Eq for dtls_cipher_t
impl StructuralPartialEq for dtls_cipher_t
Auto Trait Implementations§
impl Freeze for dtls_cipher_t
impl RefUnwindSafe for dtls_cipher_t
impl Send for dtls_cipher_t
impl Sync for dtls_cipher_t
impl Unpin for dtls_cipher_t
impl UnwindSafe for dtls_cipher_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