Enum embedded_tls::alert::AlertDescription
source · pub enum AlertDescription {
Show 27 variants
CloseNotify = 0,
UnexpectedMessage = 10,
BadRecordMac = 20,
RecordOverflow = 22,
HandshakeFailure = 40,
BadCertificate = 42,
UnsupportedCertificate = 43,
CertificateRevoked = 44,
CertificateExpired = 45,
CertificateUnknown = 46,
IllegalParameter = 47,
UnknownCa = 48,
AccessDenied = 49,
DecodeError = 50,
DecryptError = 51,
ProtocolVersion = 70,
InsufficientSecurity = 71,
InternalError = 80,
InappropriateFallback = 86,
UserCanceled = 90,
MissingExtension = 109,
UnsupportedExtension = 110,
UnrecognizedName = 112,
BadCertificateStatusResponse = 113,
UnknownPskIdentity = 115,
CertificateRequired = 116,
NoApplicationProtocol = 120,
}
Variants§
CloseNotify = 0
UnexpectedMessage = 10
BadRecordMac = 20
RecordOverflow = 22
HandshakeFailure = 40
BadCertificate = 42
UnsupportedCertificate = 43
CertificateRevoked = 44
CertificateExpired = 45
CertificateUnknown = 46
IllegalParameter = 47
UnknownCa = 48
AccessDenied = 49
DecodeError = 50
DecryptError = 51
ProtocolVersion = 70
InsufficientSecurity = 71
InternalError = 80
InappropriateFallback = 86
UserCanceled = 90
MissingExtension = 109
UnsupportedExtension = 110
UnrecognizedName = 112
BadCertificateStatusResponse = 113
UnknownPskIdentity = 115
CertificateRequired = 116
NoApplicationProtocol = 120
Implementations§
Trait Implementations§
source§impl Clone for AlertDescription
impl Clone for AlertDescription
source§fn clone(&self) -> AlertDescription
fn clone(&self) -> AlertDescription
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 AlertDescription
impl Debug for AlertDescription
impl Copy for AlertDescription
Auto Trait Implementations§
impl RefUnwindSafe for AlertDescription
impl Send for AlertDescription
impl Sync for AlertDescription
impl Unpin for AlertDescription
impl UnwindSafe for AlertDescription
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