#[repr(C)]
pub struct coap_dtls_pki_t {
Show 21 fields pub version: u8, pub verify_peer_cert: u8, pub check_common_ca: u8, pub allow_self_signed: u8, pub allow_expired_certs: u8, pub cert_chain_validation: u8, pub cert_chain_verify_depth: u8, pub check_cert_revocation: u8, pub allow_no_crl: u8, pub allow_expired_crl: u8, pub allow_bad_md_hash: u8, pub allow_short_rsa_length: u8, pub is_rpk_not_cert: u8, pub reserved: [u8; 3], pub validate_cn_call_back: coap_dtls_cn_callback_t, pub cn_call_back_arg: *mut c_void, pub validate_sni_call_back: coap_dtls_pki_sni_callback_t, pub sni_call_back_arg: *mut c_void, pub additional_tls_setup_call_back: coap_dtls_security_setup_t, pub client_sni: *mut c_char, pub pki_key: coap_dtls_key_t,
}

Fields§

§version: u8§verify_peer_cert: u8§check_common_ca: u8§allow_self_signed: u8§allow_expired_certs: u8§cert_chain_validation: u8§cert_chain_verify_depth: u8§check_cert_revocation: u8§allow_no_crl: u8§allow_expired_crl: u8§allow_bad_md_hash: u8§allow_short_rsa_length: u8§is_rpk_not_cert: u8§reserved: [u8; 3]§validate_cn_call_back: coap_dtls_cn_callback_t§cn_call_back_arg: *mut c_void§validate_sni_call_back: coap_dtls_pki_sni_callback_t§sni_call_back_arg: *mut c_void§additional_tls_setup_call_back: coap_dtls_security_setup_t§client_sni: *mut c_char§pki_key: coap_dtls_key_t

Trait Implementations§

source§

impl Clone for coap_dtls_pki_t

source§

fn clone(&self) -> coap_dtls_pki_t

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Copy for coap_dtls_pki_t

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.