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

Required Methods§

source

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

Implementors§