Enum openssl::ssl::Error [−][src]
pub enum Error { ZeroReturn, WantRead(Error), WantWrite(Error), WantX509Lookup, Stream(Error), Ssl(Vec<OpenSslError>), }
An SSL error.
Variants
ZeroReturn
The SSL session has been closed by the other end
WantRead(Error)
An attempt to read data from the underlying socket returned
WouldBlock
. Wait for read readiness and reattempt the operation.
WantWrite(Error)
An attempt to write data from the underlying socket returned
WouldBlock
. Wait for write readiness and reattempt the operation.
WantX509Lookup
The client certificate callback requested to be called again.
Stream(Error)
An error reported by the underlying stream.
Ssl(Vec<OpenSslError>)
An error in the OpenSSL library.
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for Error
[src]
impl Display for Error
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for Error
[src]
impl Error for Error