#[non_exhaustive]pub enum PeerIncompatible {
Show 22 variants
EcPointsExtensionRequired,
ExtendedMasterSecretExtensionRequired,
IncorrectCertificateTypeExtension,
KeyShareExtensionRequired,
NamedGroupsExtensionRequired,
NoCertificateRequestSignatureSchemesInCommon,
NoCipherSuitesInCommon,
NoEcPointFormatsInCommon,
NoKxGroupsInCommon,
NoSignatureSchemesInCommon,
NullCompressionRequired,
ServerDoesNotSupportTls12Or13,
ServerSentHelloRetryRequestWithUnknownExtension,
ServerTlsVersionIsDisabledByOurConfig,
SignatureAlgorithmsExtensionRequired,
SupportedVersionsExtensionRequired,
Tls12NotOffered,
Tls12NotOfferedOrEnabled,
Tls13RequiredForQuic,
UncompressedEcPointsRequired,
UnsolicitedCertificateTypeExtension,
ServerRejectedEncryptedClientHello(Option<Vec<EchConfigPayload>>),
}
Expand description
The set of cases where we failed to make a connection because a peer doesn’t support a TLS version/feature we require.
This is non_exhaustive
: we might add or stop using items here in minor
versions.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
EcPointsExtensionRequired
ExtendedMasterSecretExtensionRequired
IncorrectCertificateTypeExtension
NamedGroupsExtensionRequired
NoCertificateRequestSignatureSchemesInCommon
NoCipherSuitesInCommon
NoEcPointFormatsInCommon
NoKxGroupsInCommon
NoSignatureSchemesInCommon
NullCompressionRequired
ServerDoesNotSupportTls12Or13
ServerSentHelloRetryRequestWithUnknownExtension
ServerTlsVersionIsDisabledByOurConfig
SignatureAlgorithmsExtensionRequired
SupportedVersionsExtensionRequired
Tls12NotOffered
Tls12NotOfferedOrEnabled
Tls13RequiredForQuic
UncompressedEcPointsRequired
UnsolicitedCertificateTypeExtension
ServerRejectedEncryptedClientHello(Option<Vec<EchConfigPayload>>)
Trait Implementations§
Source§impl Clone for PeerIncompatible
impl Clone for PeerIncompatible
Source§fn clone(&self) -> PeerIncompatible
fn clone(&self) -> PeerIncompatible
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PeerIncompatible
impl Debug for PeerIncompatible
Source§impl From<PeerIncompatible> for Error
impl From<PeerIncompatible> for Error
Source§fn from(e: PeerIncompatible) -> Self
fn from(e: PeerIncompatible) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PeerIncompatible
impl PartialEq for PeerIncompatible
impl StructuralPartialEq for PeerIncompatible
Auto Trait Implementations§
impl Freeze for PeerIncompatible
impl RefUnwindSafe for PeerIncompatible
impl Send for PeerIncompatible
impl Sync for PeerIncompatible
impl Unpin for PeerIncompatible
impl UnwindSafe for PeerIncompatible
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes
Size for each variant:
EcPointsExtensionRequired
: 0 bytesExtendedMasterSecretExtensionRequired
: 0 bytesIncorrectCertificateTypeExtension
: 0 bytesKeyShareExtensionRequired
: 0 bytesNamedGroupsExtensionRequired
: 0 bytesNoCertificateRequestSignatureSchemesInCommon
: 0 bytesNoCipherSuitesInCommon
: 0 bytesNoEcPointFormatsInCommon
: 0 bytesNoKxGroupsInCommon
: 0 bytesNoSignatureSchemesInCommon
: 0 bytesNullCompressionRequired
: 0 bytesServerDoesNotSupportTls12Or13
: 0 bytesServerSentHelloRetryRequestWithUnknownExtension
: 0 bytesServerTlsVersionIsDisabledByOurConfig
: 0 bytesSignatureAlgorithmsExtensionRequired
: 0 bytesSupportedVersionsExtensionRequired
: 0 bytesTls12NotOffered
: 0 bytesTls12NotOfferedOrEnabled
: 0 bytesTls13RequiredForQuic
: 0 bytesUncompressedEcPointsRequired
: 0 bytesUnsolicitedCertificateTypeExtension
: 0 bytesServerRejectedEncryptedClientHello
: 24 bytes