Enum tls_parser::tls_alert::TlsAlertDescription
[−]
[src]
pub enum TlsAlertDescription {
CloseNotify,
UnexpectedMessage,
BadRecordMac,
DecryptionFailed,
RecordOverflow,
DecompressionFailure,
HandshakeFailure,
NoCertificate,
BadCertificate,
UnsupportedCertificate,
CertificateRevoked,
CertificateExpired,
CertificateUnknown,
IllegalParameter,
UnknownCa,
AccessDenied,
DecodeError,
DecryptError,
ExportRestriction,
ProtocolVersion,
InsufficientSecurity,
InternalError,
InappropriateFallback,
UserCancelled,
NoRenegotiation,
}Variants
CloseNotifyUnexpectedMessageBadRecordMacDecryptionFailedRecordOverflowDecompressionFailureHandshakeFailureNoCertificateBadCertificateUnsupportedCertificateCertificateRevokedCertificateExpiredCertificateUnknownIllegalParameterUnknownCaAccessDeniedDecodeErrorDecryptErrorExportRestrictionProtocolVersionInsufficientSecurityInternalErrorInappropriateFallbackUserCancelledNoRenegotiationMethods
impl TlsAlertDescription[src]
fn try_from_u8(original: u8) -> Result<Self, IntToEnumError>
Trait Implementations
impl Debug for TlsAlertDescription[src]
impl PartialEq for TlsAlertDescription[src]
fn eq(&self, __arg_0: &TlsAlertDescription) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl From<u8> for TlsAlertDescription[src]
fn from(t: u8) -> TlsAlertDescription
Performs the conversion.