pub enum HandshakePayload {
Show 21 variants
HelloRequest,
ClientHello(ClientHelloPayload),
ServerHello(ServerHelloPayload),
HelloRetryRequest(HelloRetryRequest),
Certificate(CertificatePayload),
CertificateTLS13(CertificatePayloadTLS13),
ServerKeyExchange(ServerKeyExchangePayload),
CertificateRequest(CertificateRequestPayload),
CertificateRequestTLS13(CertificateRequestPayloadTLS13),
CertificateVerify(DigitallySignedStruct),
ServerHelloDone,
EndOfEarlyData,
ClientKeyExchange(Payload),
NewSessionTicket(NewSessionTicketPayload),
NewSessionTicketTLS13(NewSessionTicketPayloadTLS13),
EncryptedExtensions(Vec<ServerExtension>),
KeyUpdate(KeyUpdateRequest),
Finished(Payload),
CertificateStatus(CertificateStatus),
MessageHash(Payload),
Unknown(Payload),
}
Variants§
HelloRequest
ClientHello(ClientHelloPayload)
ServerHello(ServerHelloPayload)
HelloRetryRequest(HelloRetryRequest)
Certificate(CertificatePayload)
CertificateTLS13(CertificatePayloadTLS13)
ServerKeyExchange(ServerKeyExchangePayload)
CertificateRequest(CertificateRequestPayload)
CertificateRequestTLS13(CertificateRequestPayloadTLS13)
CertificateVerify(DigitallySignedStruct)
ServerHelloDone
EndOfEarlyData
ClientKeyExchange(Payload)
NewSessionTicket(NewSessionTicketPayload)
NewSessionTicketTLS13(NewSessionTicketPayloadTLS13)
EncryptedExtensions(Vec<ServerExtension>)
KeyUpdate(KeyUpdateRequest)
Finished(Payload)
CertificateStatus(CertificateStatus)
MessageHash(Payload)
Unknown(Payload)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HandshakePayload
impl RefUnwindSafe for HandshakePayload
impl Send for HandshakePayload
impl Sync for HandshakePayload
impl Unpin for HandshakePayload
impl UnwindSafe for HandshakePayload
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