#[repr(C)]pub struct dtls_ccm_params_t {
pub nonce: *const u8,
pub tag_length: u8,
pub l: u8,
}Expand description
Represents AEAD parameters for dtls_encrypt_params().
Fields§
§nonce: *const u8< must be exactly 15 - l bytes
tag_length: u8< the MAC tag length (M)
l: u8< number of bytes in the length field (L)
Trait Implementations§
Source§impl Clone for dtls_ccm_params_t
impl Clone for dtls_ccm_params_t
Source§fn clone(&self) -> dtls_ccm_params_t
fn clone(&self) -> dtls_ccm_params_t
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for dtls_ccm_params_t
Auto Trait Implementations§
impl !Send for dtls_ccm_params_t
impl !Sync for dtls_ccm_params_t
impl Freeze for dtls_ccm_params_t
impl RefUnwindSafe for dtls_ccm_params_t
impl Unpin for dtls_ccm_params_t
impl UnsafeUnpin for dtls_ccm_params_t
impl UnwindSafe for dtls_ccm_params_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