Struct tls_parser::DTLSClientHello[][src]

pub struct DTLSClientHello<'a> {
    pub version: TlsVersion,
    pub random: &'a [u8],
    pub session_id: Option<&'a [u8]>,
    pub cookie: &'a [u8],
    pub ciphers: Vec<TlsCipherSuiteID>,
    pub comp: Vec<TlsCompressionID>,
    pub ext: Option<&'a [u8]>,
}

Fields

version: TlsVersionrandom: &'a [u8]session_id: Option<&'a [u8]>cookie: &'a [u8]ciphers: Vec<TlsCipherSuiteID>

A list of ciphers supported by client

comp: Vec<TlsCompressionID>

A list of compression methods supported by client

ext: Option<&'a [u8]>

Trait Implementations

TLS version of message

A list of ciphers supported by client

A list of compression methods supported by client

Formats the value using the given formatter. Read more

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.