#[repr(C, packed(1))]pub struct dtls_handshake_header_t {
pub msg_type: uint8,
pub length: uint24,
pub message_seq: uint16,
pub fragment_offset: uint24,
pub fragment_length: uint24,
}Expand description
Header structure for the DTLS handshake protocol.
Fields§
§msg_type: uint8< Type of handshake message (one of DTLS_HT_)
length: uint24< length of this message
message_seq: uint16< Message sequence number
fragment_offset: uint24< Fragment offset.
fragment_length: uint24< Fragment length.
Trait Implementations§
Source§impl Clone for dtls_handshake_header_t
impl Clone for dtls_handshake_header_t
Source§fn clone(&self) -> dtls_handshake_header_t
fn clone(&self) -> dtls_handshake_header_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_handshake_header_t
Auto Trait Implementations§
impl Freeze for dtls_handshake_header_t
impl RefUnwindSafe for dtls_handshake_header_t
impl Send for dtls_handshake_header_t
impl Sync for dtls_handshake_header_t
impl Unpin for dtls_handshake_header_t
impl UnsafeUnpin for dtls_handshake_header_t
impl UnwindSafe for dtls_handshake_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