[][src]Enum tokio_libtls::error::AsyncTlsError

pub enum AsyncTlsError {
    Readable(AsyncTlsStream),
    Writeable(AsyncTlsStream),
    Handshake(AsyncTlsStream),
    Error(TlsError),
}

An error returned by AsyncTls.

This error includes the detailed error message of a failed async libtls operation.

Variants

Readable(AsyncTlsStream)

The connection is readable.

Writeable(AsyncTlsStream)

The connection is writeable.

Handshake(AsyncTlsStream)

The connection is doing a handshake.

Error(TlsError)

A generic error.

Trait Implementations

impl From<TlsError> for AsyncTlsError[src]

impl From<Error> for AsyncTlsError[src]

impl From<AsyncTlsError> for Error[src]

impl Debug for AsyncTlsError[src]

impl Display for AsyncTlsError[src]

impl Error for AsyncTlsError[src]

Auto Trait Implementations

impl Send for AsyncTlsError

impl Unpin for AsyncTlsError

impl Sync for AsyncTlsError

impl !UnwindSafe for AsyncTlsError

impl !RefUnwindSafe for AsyncTlsError

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]