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(EncryptedExtensions),
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(EncryptedExtensions)
KeyUpdate(KeyUpdateRequest)
Finished(Payload)
CertificateStatus(CertificateStatus)
MessageHash(Payload)
Unknown(Payload)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HandshakePayload
impl Send for HandshakePayload
impl Sync for HandshakePayload
impl Unpin for HandshakePayload
impl UnwindSafe for HandshakePayload
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more