Struct tls_parser::TlsServerHelloContents [−][src]
pub struct TlsServerHelloContents<'a> {
pub version: TlsVersion,
pub rand_time: u32,
pub rand_data: &'a [u8],
pub session_id: Option<&'a [u8]>,
pub cipher: TlsCipherSuiteID,
pub compression: TlsCompressionID,
pub ext: Option<&'a [u8]>,
}
Expand description
TLS Server Hello (from TLS 1.0 to TLS 1.2)
Fields
version: TlsVersion
rand_time: u32
rand_data: &'a [u8]
session_id: Option<&'a [u8]>
cipher: TlsCipherSuiteID
compression: TlsCompressionID
ext: Option<&'a [u8]>
Implementations
Trait Implementations
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 TlsServerHelloContents<'a>
impl<'a> Send for TlsServerHelloContents<'a>
impl<'a> Sync for TlsServerHelloContents<'a>
impl<'a> Unpin for TlsServerHelloContents<'a>
impl<'a> UnwindSafe for TlsServerHelloContents<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more