Enum rustls::error::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
NamedGroupsExtensionRequired
NoCertificateRequestSignatureSchemesInCommon
NoCipherSuitesInCommon
NoEcPointFormatsInCommon
NoKxGroupsInCommon
NoSignatureSchemesInCommon
NullCompressionRequired
ServerDoesNotSupportTls12Or13
ServerSentHelloRetryRequestWithUnknownExtension
ServerTlsVersionIsDisabledByOurConfig
SignatureAlgorithmsExtensionRequired
SupportedVersionsExtensionRequired
Tls12NotOffered
Tls12NotOfferedOrEnabled
Tls13RequiredForQuic
UncompressedEcPointsRequired
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)