Struct openssl::ssl::ErrorCode [−][src]
pub struct ErrorCode(_);
An error code returned from SSL functions.
Implementations
impl ErrorCode
[src]
impl ErrorCode
[src]pub const ZERO_RETURN: ErrorCode
[src]
The SSL session has been closed.
pub const WANT_READ: ErrorCode
[src]
An attempt to read data from the underlying socket returned WouldBlock
.
Wait for read readiness and retry the operation.
pub const WANT_WRITE: ErrorCode
[src]
An attempt to write data to the underlying socket returned WouldBlock
.
Wait for write readiness and retry the operation.
pub const SYSCALL: ErrorCode
[src]
A non-recoverable IO error occurred.
pub const SSL: ErrorCode
[src]
An error occurred in the SSL library.
pub const WANT_CLIENT_HELLO_CB: ErrorCode
[src]
The client hello callback indicated that it needed to be retried.
Requires OpenSSL 1.1.1 or newer.