Enum thrussh::HandlerError[][src]

pub enum HandlerError<E> {
    Error(Error),
    Handler(E),
}

Errors including those coming from handler. These are not included in this crate's "main" error type to allow for a simpler API (the "handler error" type cannot be inferred by the compiler in some functions).

Variants

Standard errors

From handler

Trait Implementations

impl<E: Debug> Debug for HandlerError<E>
[src]

Formats the value using the given formatter. Read more

impl<E: Error> Display for HandlerError<E>
[src]

Formats the value using the given formatter. Read more

impl<E: Error> Error for HandlerError<E>
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl<E> From<Error> for HandlerError<E>
[src]

Performs the conversion.

impl<E> From<Error> for HandlerError<E>
[src]

Performs the conversion.

impl<E> From<Utf8Error> for HandlerError<E>
[src]

Performs the conversion.

impl<E> From<Error> for HandlerError<E>
[src]

Performs the conversion.

impl<E> From<TimerError> for HandlerError<E>
[src]

Performs the conversion.

Auto Trait Implementations

impl<E> Send for HandlerError<E> where
    E: Send

impl<E> !Sync for HandlerError<E>