Skip to main content

AsyncTlsError

Type Alias AsyncTlsError 

Source
pub type AsyncTlsError = Error;
👎Deprecated since 1.1.1: Please use Error instead of AsyncTlsError
Expand description

An error returned by [AsyncTls].

Aliased Type§

pub enum AsyncTlsError {
    Readable(PollEvented<TlsStream>),
    Writeable(PollEvented<TlsStream>),
    Handshake(PollEvented<TlsStream>),
    Error(Error),
}

Variants§

§

Readable(PollEvented<TlsStream>)

The connection is readable.

§

Writeable(PollEvented<TlsStream>)

The connection is writeable.

§

Handshake(PollEvented<TlsStream>)

The connection is doing a handshake.

§

Error(Error)

A generic error.