pub struct SslAlert(/* private fields */);Expand description
An SSL/TLS alert.
Implementations§
Source§impl SslAlert
impl SslAlert
pub const CLOSE_NOTIFY: Self
pub const UNEXPECTED_MESSAGE: Self
pub const BAD_RECORD_MAC: Self
pub const DECRYPTION_FAILED: Self
pub const RECORD_OVERFLOW: Self
pub const DECOMPRESSION_FAILURE: Self
pub const HANDSHAKE_FAILURE: Self
pub const NO_CERTIFICATE: Self
pub const BAD_CERTIFICATE: Self
pub const UNSUPPORTED_CERTIFICATE: Self
pub const CERTIFICATE_REVOKED: Self
pub const CERTIFICATE_EXPIRED: Self
pub const CERTIFICATE_UNKNOWN: Self
pub const ILLEGAL_PARAMETER: Self
pub const UNKNOWN_CA: Self
pub const ACCESS_DENIED: Self
pub const DECODE_ERROR: Self
pub const DECRYPT_ERROR: Self
pub const EXPORT_RESTRICTION: Self
pub const PROTOCOL_VERSION: Self
pub const INSUFFICIENT_SECURITY: Self
pub const INTERNAL_ERROR: Self
pub const INAPPROPRIATE_FALLBACK: Self
pub const USER_CANCELLED: Self
pub const NO_RENEGOTIATION: Self
pub const MISSING_EXTENSION: Self
pub const UNSUPPORTED_EXTENSION: Self
pub const CERTIFICATE_UNOBTAINABLE: Self
pub const UNRECOGNIZED_NAME: Self
pub const BAD_CERTIFICATE_STATUS_RESPONSE: Self
pub const BAD_CERTIFICATE_HASH_VALUE: Self
pub const UNKNOWN_PSK_IDENTITY: Self
pub const CERTIFICATE_REQUIRED: Self
pub const NO_APPLICATION_PROTOCOL: Self
Trait Implementations§
impl Copy for SslAlert
impl Eq for SslAlert
impl StructuralPartialEq for SslAlert
Auto Trait Implementations§
impl Freeze for SslAlert
impl RefUnwindSafe for SslAlert
impl Send for SslAlert
impl Sync for SslAlert
impl Unpin for SslAlert
impl UnwindSafe for SslAlert
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