Struct tls_parser::TlsServerHelloV13Draft18Contents [−][src]
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
impl<'a> PartialEq<TlsServerHelloV13Draft18Contents<'a>> for TlsServerHelloV13Draft18Contents<'a>
impl<'a> PartialEq<TlsServerHelloV13Draft18Contents<'a>> for TlsServerHelloV13Draft18Contents<'a>
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
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
Mutably borrows from an owned value. Read more