pub trait Config {
type Id;
const CODE: Option<&'static str> = None;
// Provided methods
fn id() -> Option<Self::Id> { ... }
fn display<C: Config, D>(gerr: &GErr<C, D>) -> String
where C::Id: Display,
D: Debug { ... }
}Expand description
Error config.
Provided Associated Constants§
Required Associated Types§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".