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
Generic(ErrorStack)
This variant includes everything related to the existing SSL connection.
Handshake(HandshakeError<TcpStream>)
This variant describes an error or intermediate state after a TLS handshake attempt.
Trait Implementations
impl Debug for SslError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for SslError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more