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§

AlertDescription
The AlertDescription TLS protocol enum. Values in this enum are taken from the various RFCs covering TLS, and are listed by IANA. The Unknown item is used when processing unrecognized ordinals.
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.
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.