#[repr(C, packed(1))]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§
Source§impl Clone for dtls_record_header_t
impl Clone for dtls_record_header_t
Source§fn clone(&self) -> dtls_record_header_t
fn clone(&self) -> dtls_record_header_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_record_header_t
impl Debug for dtls_record_header_t
impl Copy for dtls_record_header_t
Auto Trait Implementations§
impl Freeze for dtls_record_header_t
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§
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