Enum rustls::internal::msgs::handshake::ClientExtension [−][src]
pub enum ClientExtension {
Show 18 variants
ECPointFormats(ECPointFormatList),
NamedGroups(NamedGroups),
SignatureAlgorithms(SupportedSignatureSchemes),
ServerName(ServerNameRequest),
SessionTicketRequest,
SessionTicketOffer(Payload),
Protocols(ProtocolNameList),
SupportedVersions(ProtocolVersions),
KeyShare(KeyShareEntries),
PresharedKeyModes(PSKKeyExchangeModes),
PresharedKey(PresharedKeyOffer),
Cookie(PayloadU16),
ExtendedMasterSecretRequest,
CertificateStatusRequest(CertificateStatusRequest),
SignedCertificateTimestampRequest,
TransportParameters(Vec<u8>),
EarlyData,
Unknown(UnknownExtension),
}
Variants
ECPointFormats(ECPointFormatList)
Tuple Fields
NamedGroups(NamedGroups)
Tuple Fields
0: NamedGroups
SignatureAlgorithms(SupportedSignatureSchemes)
Tuple Fields
ServerName(ServerNameRequest)
Tuple Fields
SessionTicketRequest
SessionTicketOffer(Payload)
Tuple Fields
0: Payload
Protocols(ProtocolNameList)
Tuple Fields
SupportedVersions(ProtocolVersions)
Tuple Fields
KeyShare(KeyShareEntries)
PresharedKeyModes(PSKKeyExchangeModes)
PresharedKey(PresharedKeyOffer)
Cookie(PayloadU16)
Tuple Fields
0: PayloadU16
ExtendedMasterSecretRequest
CertificateStatusRequest(CertificateStatusRequest)
Tuple Fields
SignedCertificateTimestampRequest
TransportParameters(Vec<u8>)
EarlyData
Unknown(UnknownExtension)
Tuple Fields
Implementations
Make a basic SNI ServerNameRequest quoting hostname
.
Trait Implementations
Decode yourself by fiddling with the Reader
.
Return Some if it worked, None if not. Read more
Convenience function to get the results of encode()
.
Auto Trait Implementations
impl RefUnwindSafe for ClientExtension
impl Send for ClientExtension
impl Sync for ClientExtension
impl Unpin for ClientExtension
impl UnwindSafe for ClientExtension
Blanket Implementations
Mutably borrows from an owned value. Read more