pub type AsyncTlsError = Error;👎Deprecated since 1.1.1: Please use
Error instead of AsyncTlsErrorExpand 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.