Struct openssl::ssl::ErrorCode [−][src]
An error code returned from SSL functions.
Methods
impl ErrorCode
[src]
[−]
impl ErrorCode
pub fn from_raw(raw: c_int) -> ErrorCode
[src]
pub fn from_raw(raw: c_int) -> ErrorCode
pub fn as_raw(&self) -> c_int
[src]
pub fn as_raw(&self) -> c_int
pub const ZERO_RETURN: ErrorCode
ZERO_RETURN: ErrorCode = ErrorCode(ffi::SSL_ERROR_ZERO_RETURN)
The SSL session has been closed.
pub const WANT_READ: ErrorCode
WANT_READ: ErrorCode = ErrorCode(ffi::SSL_ERROR_WANT_READ)
An attempt to read data from the underlying socket returned WouldBlock
.
Wait for read readiness and retry the operation.
pub const WANT_WRITE: ErrorCode
WANT_WRITE: ErrorCode = ErrorCode(ffi::SSL_ERROR_WANT_WRITE)
An attempt to write data to the underlying socket returned WouldBlock
.
Wait for write readiness and retry the operation.
pub const SYSCALL: ErrorCode
SYSCALL: ErrorCode = ErrorCode(ffi::SSL_ERROR_SYSCALL)
A non-recoverable IO error occurred.
pub const SSL: ErrorCode
SSL: ErrorCode = ErrorCode(ffi::SSL_ERROR_SSL)
An error occurred in the SSL library.
Trait Implementations
impl Debug for ErrorCode
[src]
[+]
impl Debug for ErrorCode
impl Copy for ErrorCode
[src]
impl Copy for ErrorCode
impl Clone for ErrorCode
[src]
[+]
impl Clone for ErrorCode
impl PartialEq for ErrorCode
[src]
[+]
impl PartialEq for ErrorCode
impl Eq for ErrorCode
[src]
impl Eq for ErrorCode