[][src]Enum thrussh::HandlerError

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

Error(Error)

Standard errors

Handler(E)

From handler

Trait Implementations

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

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

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

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

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

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

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

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

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

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

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

Auto Trait Implementations

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

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

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

impl<E> !RefUnwindSafe for HandlerError<E>

impl<E> !UnwindSafe for HandlerError<E>

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<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]

impl<T> Erased for T