Struct tinydtls_sys::dtls_record_header_t
source · #[repr(C, packed)]pub struct dtls_record_header_t {
pub content_type: uint8,
pub version: uint16,
pub epoch: uint16,
pub sequence_number: uint48,
pub length: uint16,
}Expand description
Generic header structure of the DTLS record layer.
Fields
content_type: uint8< content type of the included message
version: uint16< Protocol version
epoch: uint16< counter for cipher state changes
sequence_number: uint48< sequence number
length: uint16< length of the following fragment
Trait Implementations
sourceimpl Clone for dtls_record_header_t
impl Clone for dtls_record_header_t
sourcefn clone(&self) -> dtls_record_header_t
fn clone(&self) -> dtls_record_header_t
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for dtls_record_header_t
impl Debug for dtls_record_header_t
impl Copy for dtls_record_header_t
Auto Trait Implementations
impl RefUnwindSafe for dtls_record_header_t
impl Send for dtls_record_header_t
impl Sync for dtls_record_header_t
impl Unpin for dtls_record_header_t
impl UnwindSafe for dtls_record_header_t
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more