Struct tls_parser::tls::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]>,
}

TLS Server Hello (from TLS 1.0 to TLS 1.2)

Fields

Methods

impl<'a> TlsServerHelloContents<'a>
[src]

Trait Implementations

impl<'a> Clone for TlsServerHelloContents<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> PartialEq for TlsServerHelloContents<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> Debug for TlsServerHelloContents<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for TlsServerHelloContents<'a>

impl<'a> Sync for TlsServerHelloContents<'a>