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]

[src]

Formats the value using the given formatter.

impl Display for SslError
[src]

[src]

Formats the value using the given formatter. Read more

impl StdError for SslError
[src]

[src]

A short description of the error. Read more

[src]

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