Enum rust_cast::errors::SslError[][src]

pub enum SslError {
    Generic(ErrorStack),
    Handshake(HandshakeError<TcpStream>),
}

Consolidates possible error types that can occur in the OpenSSL lib.

Variants

This variant includes everything related to the existing SSL connection.

This variant describes an error or intermediate state after a TLS handshake attempt.

Trait Implementations

impl Debug for SslError
[src]

Formats the value using the given formatter. Read more

impl Display for SslError
[src]

Formats the value using the given formatter. Read more

impl StdError for SslError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

Auto Trait Implementations

impl Send for SslError

impl Sync for SslError