Enum tls_parser::TlsMessageHandshake [−][src]
pub enum TlsMessageHandshake<'a> {
Show 17 variants
HelloRequest,
ClientHello(TlsClientHelloContents<'a>),
ServerHello(TlsServerHelloContents<'a>),
ServerHelloV13Draft18(TlsServerHelloV13Draft18Contents<'a>),
NewSessionTicket(TlsNewSessionTicketContent<'a>),
EndOfEarlyData,
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>),
KeyUpdate(u8),
}
Expand description
Generic handshake message
Variants
ClientHello(TlsClientHelloContents<'a>)
Tuple Fields of ClientHello
0: TlsClientHelloContents<'a>
ServerHello(TlsServerHelloContents<'a>)
Tuple Fields of ServerHello
0: TlsServerHelloContents<'a>
ServerHelloV13Draft18(TlsServerHelloV13Draft18Contents<'a>)
Tuple Fields of ServerHelloV13Draft18
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
ClientKeyExchange(TlsClientKeyExchangeContents<'a>)
Tuple Fields of ClientKeyExchange
0: TlsClientKeyExchangeContents<'a>
CertificateStatus(TlsCertificateStatusContents<'a>)
Tuple Fields of CertificateStatus
0: TlsCertificateStatusContents<'a>
NextProtocol(TlsNextProtocolContent<'a>)
Tuple Fields of NextProtocol
0: TlsNextProtocolContent<'a>
KeyUpdate(u8)
Tuple Fields of KeyUpdate
0: u8
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 TlsMessageHandshake<'a>
impl<'a> Send for TlsMessageHandshake<'a>
impl<'a> Sync for TlsMessageHandshake<'a>
impl<'a> Unpin for TlsMessageHandshake<'a>
impl<'a> UnwindSafe for TlsMessageHandshake<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more