#[repr(C)]pub struct dtls_user_parameters_t {
pub cipher_suites: [dtls_cipher_t; 5],
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 3],
}
Expand description
Set of user parameters used by the handshake.
Fields§
§cipher_suites: [dtls_cipher_t; 5]
The list of cipher suites. The list must be terminated by TLS_NULL_WITH_NULL_NULL.
_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u8; 3]
Implementations§
Source§impl dtls_user_parameters_t
impl dtls_user_parameters_t
pub fn force_extended_master_secret(&self) -> c_uint
pub fn set_force_extended_master_secret(&mut self, val: c_uint)
pub fn force_renegotiation_info(&self) -> c_uint
pub fn set_force_renegotiation_info(&mut self, val: c_uint)
pub fn new_bitfield_1( force_extended_master_secret: c_uint, force_renegotiation_info: c_uint, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for dtls_user_parameters_t
impl Clone for dtls_user_parameters_t
Source§fn clone(&self) -> dtls_user_parameters_t
fn clone(&self) -> dtls_user_parameters_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_user_parameters_t
impl Debug for dtls_user_parameters_t
impl Copy for dtls_user_parameters_t
Auto Trait Implementations§
impl Freeze for dtls_user_parameters_t
impl RefUnwindSafe for dtls_user_parameters_t
impl Send for dtls_user_parameters_t
impl Sync for dtls_user_parameters_t
impl Unpin for dtls_user_parameters_t
impl UnwindSafe for dtls_user_parameters_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