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]

[src]

Formats the value using the given formatter. Read more

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

Auto Trait Implementations

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

impl<E> !Sync for HandlerError<E>