Type Alias TlsError

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

An error returned by [Tls] and [Config] methods.

Aliased Type§

pub enum TlsError {
    CtxError(String),
    ConfigError(String),
    IoError(Error),
    NulError(NulError),
    NoError,
}

Variants§

§

CtxError(String)

§

ConfigError(String)

§

IoError(Error)

Generic operating system or I/O error.

§

NulError(NulError)

An interior nul byte was found.

§

NoError

No error was reported.