pub enum HandshakePayload {
Show 21 variants
HelloRequest,
ClientHello(ClientHelloPayload),
ServerHello(ServerHelloPayload),
HelloRetryRequest(HelloRetryRequest),
Certificate(CertificateChain),
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(CertificateChain)
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)
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