Struct tls_parser::tls::TlsServerHelloContents [] [src]

pub struct TlsServerHelloContents<'a> {
    pub version: u16,
    pub rand_time: u32,
    pub rand_data: &'a [u8],
    pub session_id: Option<&'a [u8]>,
    pub cipher: u16,
    pub compression: u8,
    pub ext: Option<&'a [u8]>,
}

Fields

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> Debug for TlsServerHelloContents<'a>
[src]

Formats the value using the given formatter.

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 !=.