pub struct TlsServerHelloV13Draft18Contents<'a> {
pub version: TlsVersion,
pub random: &'a [u8],
pub cipher: TlsCipherSuiteID,
pub ext: Option<&'a [u8]>,
}
Expand description
TLS Server Hello (TLS 1.3 draft 18)
Fields§
§version: TlsVersion
§random: &'a [u8]
§cipher: TlsCipherSuiteID
§ext: Option<&'a [u8]>
Trait Implementations§
Source§impl<'a> Clone for TlsServerHelloV13Draft18Contents<'a>
impl<'a> Clone for TlsServerHelloV13Draft18Contents<'a>
Source§fn clone(&self) -> TlsServerHelloV13Draft18Contents<'a>
fn clone(&self) -> TlsServerHelloV13Draft18Contents<'a>
Returns a copy 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<'a> Debug for TlsServerHelloV13Draft18Contents<'a>
impl<'a> Debug for TlsServerHelloV13Draft18Contents<'a>
Source§impl<'a> PartialEq for TlsServerHelloV13Draft18Contents<'a>
impl<'a> PartialEq for TlsServerHelloV13Draft18Contents<'a>
Source§fn eq(&self, other: &TlsServerHelloV13Draft18Contents<'a>) -> bool
fn eq(&self, other: &TlsServerHelloV13Draft18Contents<'a>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<'a> StructuralPartialEq for TlsServerHelloV13Draft18Contents<'a>
Auto Trait Implementations§
impl<'a> Freeze for TlsServerHelloV13Draft18Contents<'a>
impl<'a> RefUnwindSafe for TlsServerHelloV13Draft18Contents<'a>
impl<'a> Send for TlsServerHelloV13Draft18Contents<'a>
impl<'a> Sync for TlsServerHelloV13Draft18Contents<'a>
impl<'a> Unpin for TlsServerHelloV13Draft18Contents<'a>
impl<'a> UnwindSafe for TlsServerHelloV13Draft18Contents<'a>
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