pub struct DtlsRecordHeader {
pub content_type: RecordContentType,
pub version: [u8; 2],
pub epoch: u16,
pub sequence: u64,
pub length: u16,
}Expand description
Represents a DTLS record-layer header for datagram framing.
Fields§
§content_type: RecordContentType§version: [u8; 2]§epoch: u16§sequence: u64§length: u16Trait Implementations§
Source§impl Clone for DtlsRecordHeader
impl Clone for DtlsRecordHeader
Source§fn clone(&self) -> DtlsRecordHeader
fn clone(&self) -> DtlsRecordHeader
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 moreSource§impl Debug for DtlsRecordHeader
impl Debug for DtlsRecordHeader
Source§impl PartialEq for DtlsRecordHeader
impl PartialEq for DtlsRecordHeader
Source§fn eq(&self, other: &DtlsRecordHeader) -> bool
fn eq(&self, other: &DtlsRecordHeader) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DtlsRecordHeader
impl Eq for DtlsRecordHeader
impl StructuralPartialEq for DtlsRecordHeader
Auto Trait Implementations§
impl Freeze for DtlsRecordHeader
impl RefUnwindSafe for DtlsRecordHeader
impl Send for DtlsRecordHeader
impl Sync for DtlsRecordHeader
impl Unpin for DtlsRecordHeader
impl UnsafeUnpin for DtlsRecordHeader
impl UnwindSafe for DtlsRecordHeader
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