Struct openssl::ssl::ErrorCode [] [src]

pub struct ErrorCode(_);

An error code returned from SSL functions.

Methods

impl ErrorCode
[src]

[src]

[src]

ZERO_RETURN: ErrorCode = ErrorCode(ffi::SSL_ERROR_ZERO_RETURN)

The SSL session has been closed.

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.

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.

SYSCALL: ErrorCode = ErrorCode(ffi::SSL_ERROR_SYSCALL)

A non-recoverable IO error occurred.

SSL: ErrorCode = ErrorCode(ffi::SSL_ERROR_SSL)

An error occurred in the SSL library.

Trait Implementations

impl Debug for ErrorCode
[src]

[src]

Formats the value using the given formatter.

impl Copy for ErrorCode
[src]

impl Clone for ErrorCode
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for ErrorCode
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for ErrorCode
[src]