Module error

Module error 

Source
Expand description

Error types used throughout rustls.

Structs§

OtherError
Any other error that cannot be expressed by a more specific Error variant.
RejectedEch
The server rejected the request to enable Encrypted Client Hello (ECH)

Enums§

ApiMisuse
Describes cases of API misuse
CertRevocationListError
The ways in which a certificate revocation list (CRL) can be invalid.
CertificateError
The ways in which certificate validators can express errors.
EncryptedClientHelloError
An error that occurred while handling Encrypted Client Hello (ECH).
Error
rustls reports protocol errors using this type.
ExtendedKeyPurpose
Extended Key Usage (EKU) purpose values.
InconsistentKeys
Specific failure cases from Credentials::new() or a crate::crypto::SigningKey that cannot produce a corresponding public key.
InvalidMessage
A corrupt TLS message payload that resulted in an error.
PeerIncompatible
The set of cases where we failed to make a connection because a peer doesn’t support a TLS version/feature we require.
PeerMisbehaved
The set of cases where we failed to make a connection because we thought the peer was misbehaving.