pub trait Error {
    // Required method
    fn custom<T>(msg: T) -> Self
       where T: Display;
}

Required Methods§

source

fn custom<T>(msg: T) -> Selfwhere T: Display,

Implementations on Foreign Types§

source§

impl Error for String

source§

fn custom<T>(msg: T) -> Stringwhere T: Display,

source§

impl Error for Infallible

source§

fn custom<T>(msg: T) -> Infalliblewhere T: Display,

Implementors§

source§

impl Error for BsatnError

source§

impl<E> Error for SerdeError<E>where E: Error,