Enum tls_parser::DTLSMessageHandshakeBody[][src]

pub enum DTLSMessageHandshakeBody<'a> {
Show 15 variants HelloRequest, ClientHello(DTLSClientHello<'a>), HelloVerifyRequest(DTLSHelloVerifyRequest<'a>), ServerHello(TlsServerHelloContents<'a>), NewSessionTicket(TlsNewSessionTicketContent<'a>), HelloRetryRequest(TlsHelloRetryRequestContents<'a>), Certificate(TlsCertificateContents<'a>), ServerKeyExchange(TlsServerKeyExchangeContents<'a>), CertificateRequest(TlsCertificateRequestContents<'a>), ServerDone(&'a [u8]), CertificateVerify(&'a [u8]), ClientKeyExchange(TlsClientKeyExchangeContents<'a>), Finished(&'a [u8]), CertificateStatus(TlsCertificateStatusContents<'a>), NextProtocol(TlsNextProtocolContent<'a>),
}
Expand description

DTLS Generic handshake message

Variants

HelloRequest
ClientHello(DTLSClientHello<'a>)

Tuple Fields of ClientHello

0: DTLSClientHello<'a>
HelloVerifyRequest(DTLSHelloVerifyRequest<'a>)

Tuple Fields of HelloVerifyRequest

0: DTLSHelloVerifyRequest<'a>
ServerHello(TlsServerHelloContents<'a>)

Tuple Fields of ServerHello

0: TlsServerHelloContents<'a>
NewSessionTicket(TlsNewSessionTicketContent<'a>)

Tuple Fields of NewSessionTicket

0: TlsNewSessionTicketContent<'a>
HelloRetryRequest(TlsHelloRetryRequestContents<'a>)

Tuple Fields of HelloRetryRequest

0: TlsHelloRetryRequestContents<'a>
Certificate(TlsCertificateContents<'a>)

Tuple Fields of Certificate

0: TlsCertificateContents<'a>
ServerKeyExchange(TlsServerKeyExchangeContents<'a>)

Tuple Fields of ServerKeyExchange

0: TlsServerKeyExchangeContents<'a>
CertificateRequest(TlsCertificateRequestContents<'a>)

Tuple Fields of CertificateRequest

0: TlsCertificateRequestContents<'a>
ServerDone(&'a [u8])

Tuple Fields of ServerDone

0: &'a [u8]
CertificateVerify(&'a [u8])

Tuple Fields of CertificateVerify

0: &'a [u8]
ClientKeyExchange(TlsClientKeyExchangeContents<'a>)

Tuple Fields of ClientKeyExchange

0: TlsClientKeyExchangeContents<'a>
Finished(&'a [u8])

Tuple Fields of Finished

0: &'a [u8]
CertificateStatus(TlsCertificateStatusContents<'a>)

Tuple Fields of CertificateStatus

0: TlsCertificateStatusContents<'a>
NextProtocol(TlsNextProtocolContent<'a>)

Tuple Fields of NextProtocol

0: TlsNextProtocolContent<'a>

Trait Implementations

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.