#[non_exhaustive]#[repr(u32)]pub enum coap_tls_library_t {
COAP_TLS_LIBRARY_NOTLS = 0,
COAP_TLS_LIBRARY_TINYDTLS = 1,
COAP_TLS_LIBRARY_OPENSSL = 2,
COAP_TLS_LIBRARY_GNUTLS = 3,
COAP_TLS_LIBRARY_MBEDTLS = 4,
}
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_TLS_LIBRARY_NOTLS = 0
COAP_TLS_LIBRARY_TINYDTLS = 1
COAP_TLS_LIBRARY_OPENSSL = 2
COAP_TLS_LIBRARY_GNUTLS = 3
COAP_TLS_LIBRARY_MBEDTLS = 4
Trait Implementations§
Source§impl Clone for coap_tls_library_t
impl Clone for coap_tls_library_t
Source§fn clone(&self) -> coap_tls_library_t
fn clone(&self) -> coap_tls_library_t
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for coap_tls_library_t
impl Debug for coap_tls_library_t
Source§impl Hash for coap_tls_library_t
impl Hash for coap_tls_library_t
Source§impl PartialEq for coap_tls_library_t
impl PartialEq for coap_tls_library_t
impl Copy for coap_tls_library_t
impl Eq for coap_tls_library_t
impl StructuralPartialEq for coap_tls_library_t
Auto Trait Implementations§
impl Freeze for coap_tls_library_t
impl RefUnwindSafe for coap_tls_library_t
impl Send for coap_tls_library_t
impl Sync for coap_tls_library_t
impl Unpin for coap_tls_library_t
impl UnwindSafe for coap_tls_library_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