pub enum HandshakePayload<'a> {
Show 21 variants
HelloRequest,
ClientHello(ClientHelloPayload),
ServerHello(ServerHelloPayload),
HelloRetryRequest(HelloRetryRequest),
Certificate(CertificateChain<'a>),
CertificateTls13(CertificatePayloadTls13),
ServerKeyExchange(ServerKeyExchangePayload),
CertificateRequest(CertificateRequestPayload),
CertificateRequestTls13(CertificateRequestPayloadTls13),
CertificateVerify(DigitallySignedStruct),
ServerHelloDone,
EndOfEarlyData,
ClientKeyExchange(Payload<'a>),
NewSessionTicket(NewSessionTicketPayload),
NewSessionTicketTls13(NewSessionTicketPayloadTls13),
EncryptedExtensions(Vec<ServerExtension>),
KeyUpdate(KeyUpdateRequest),
Finished(Payload<'a>),
CertificateStatus(CertificateStatus),
MessageHash(Payload<'a>),
Unknown(Payload<'a>),
}
Variants§
HelloRequest
ClientHello(ClientHelloPayload)
ServerHello(ServerHelloPayload)
HelloRetryRequest(HelloRetryRequest)
Certificate(CertificateChain<'a>)
CertificateTls13(CertificatePayloadTls13)
ServerKeyExchange(ServerKeyExchangePayload)
CertificateRequest(CertificateRequestPayload)
CertificateRequestTls13(CertificateRequestPayloadTls13)
CertificateVerify(DigitallySignedStruct)
ServerHelloDone
EndOfEarlyData
ClientKeyExchange(Payload<'a>)
NewSessionTicket(NewSessionTicketPayload)
NewSessionTicketTls13(NewSessionTicketPayloadTls13)
EncryptedExtensions(Vec<ServerExtension>)
KeyUpdate(KeyUpdateRequest)
Finished(Payload<'a>)
CertificateStatus(CertificateStatus)
MessageHash(Payload<'a>)
Unknown(Payload<'a>)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for HandshakePayload<'a>
impl<'a> RefUnwindSafe for HandshakePayload<'a>
impl<'a> Send for HandshakePayload<'a>
impl<'a> Sync for HandshakePayload<'a>
impl<'a> Unpin for HandshakePayload<'a>
impl<'a> UnwindSafe for HandshakePayload<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more