#[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

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.