Struct openssl::ssl::RetryError [] [src]

pub struct RetryError;

An error indicating that the operation can be immediately retried.

OpenSSL's SSL_read and SSL_write functions can return SSL_ERROR_WANT_READ even when the underlying socket is performing blocking IO in certain cases. When this happens, the the operation can be immediately retried.

To signal this event, the io::Error inside of Error::WantRead will be constructed around a RetryError.

Trait Implementations

impl Debug for RetryError
[src]

[src]

Formats the value using the given formatter.

impl Display for RetryError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for RetryError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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