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
Error(Error)
Standard errors
Handler(E)
From handler
Trait Implementations
impl<E: Debug> Debug for HandlerError<E>
[src]
impl<E: Debug> Debug for HandlerError<E>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<E> From<HandlerError<HandlerError<E>>> for HandlerError<E>
[src]
impl<E> From<HandlerError<HandlerError<E>>> for HandlerError<E>
fn from(e: HandlerError<HandlerError<E>>) -> Self
[src]
fn from(e: HandlerError<HandlerError<E>>) -> Self
Performs the conversion.
impl<E: Error> Display for HandlerError<E>
[src]
impl<E: Error> Display for HandlerError<E>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<E: Error> Error for HandlerError<E>
[src]
impl<E: Error> Error for HandlerError<E>
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl<E> From<Error> for HandlerError<E>
[src]
impl<E> From<Error> for HandlerError<E>
fn from(e: Error) -> HandlerError<E>
[src]
fn from(e: Error) -> HandlerError<E>
Performs the conversion.
impl<E> From<Error> for HandlerError<E>
[src]
impl<E> From<Error> for HandlerError<E>
fn from(e: Error) -> HandlerError<E>
[src]
fn from(e: Error) -> HandlerError<E>
Performs the conversion.
impl<E> From<Utf8Error> for HandlerError<E>
[src]
impl<E> From<Utf8Error> for HandlerError<E>
fn from(e: Utf8Error) -> HandlerError<E>
[src]
fn from(e: Utf8Error) -> HandlerError<E>
Performs the conversion.
impl<E> From<Error> for HandlerError<E>
[src]
impl<E> From<Error> for HandlerError<E>
fn from(e: Error) -> HandlerError<E>
[src]
fn from(e: Error) -> HandlerError<E>
Performs the conversion.
impl<E> From<TimerError> for HandlerError<E>
[src]
impl<E> From<TimerError> for HandlerError<E>
fn from(e: TimerError) -> HandlerError<E>
[src]
fn from(e: TimerError) -> HandlerError<E>
Performs the conversion.
Auto Trait Implementations
impl<E> Send for HandlerError<E> where
E: Send,
impl<E> Send for HandlerError<E> where
E: Send,
impl<E> Sync for HandlerError<E> where
E: Sync,
impl<E> Sync for HandlerError<E> where
E: Sync,