pub trait ErrorCodes: Into<AuthError> {
const CODES: &'static [&'static str];
}Expand description
Lets a plugin register its error codes at build time, so two plugins can’t claim one code.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".