Skip to main content

ErrorExt

Trait ErrorExt 

Source
pub trait ErrorExt {
    // Required methods
    fn into_tide_error(self) -> Error;
    fn from_server_error(source: Error) -> Self;
}

Required Methods§

Source

fn into_tide_error(self) -> Error

Source

fn from_server_error(source: Error) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<E: Error> ErrorExt for E