Enum rustls::PeerIncompatible
source · [−]#[non_exhaustive]
pub enum PeerIncompatible {
Show 18 variants
EcPointsExtensionRequired,
KeyShareExtensionRequired,
NamedGroupsExtensionRequired,
NoCertificateRequestSignatureSchemesInCommon,
NoCipherSuitesInCommon,
NoEcPointFormatsInCommon,
NoKxGroupsInCommon,
NoSignatureSchemesInCommon,
NullCompressionRequired,
ServerDoesNotSupportTls12Or13,
ServerSentHelloRetryRequestWithUnknownExtension,
ServerTlsVersionIsDisabledByOurConfig,
SignatureAlgorithmsExtensionRequired,
SupportedVersionsExtensionRequired,
Tls12NotOffered,
Tls12NotOfferedOrEnabled,
Tls13RequiredForQuic,
UncompressedEcPointsRequired,
}
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
KeyShareExtensionRequired
NamedGroupsExtensionRequired
NoCertificateRequestSignatureSchemesInCommon
NoCipherSuitesInCommon
NoEcPointFormatsInCommon
NoKxGroupsInCommon
NoSignatureSchemesInCommon
NullCompressionRequired
ServerDoesNotSupportTls12Or13
ServerSentHelloRetryRequestWithUnknownExtension
ServerTlsVersionIsDisabledByOurConfig
SignatureAlgorithmsExtensionRequired
SupportedVersionsExtensionRequired
Tls12NotOffered
Tls12NotOfferedOrEnabled
Tls13RequiredForQuic
UncompressedEcPointsRequired
Trait Implementations
sourceimpl Clone for PeerIncompatible
impl Clone for PeerIncompatible
sourcefn clone(&self) -> PeerIncompatible
fn clone(&self) -> PeerIncompatible
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PeerIncompatible
impl Debug for PeerIncompatible
sourceimpl From<PeerIncompatible> for Error
impl From<PeerIncompatible> for Error
sourcefn from(e: PeerIncompatible) -> Self
fn from(e: PeerIncompatible) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<PeerIncompatible> for PeerIncompatible
impl PartialEq<PeerIncompatible> for PeerIncompatible
sourcefn eq(&self, other: &PeerIncompatible) -> bool
fn eq(&self, other: &PeerIncompatible) -> bool
impl StructuralPartialEq for PeerIncompatible
Auto Trait Implementations
impl RefUnwindSafe for PeerIncompatible
impl Send for PeerIncompatible
impl Sync for PeerIncompatible
impl Unpin for PeerIncompatible
impl UnwindSafe for PeerIncompatible
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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