pub trait OtherErr {
// Required method
fn other(context: &'static str, description: &'static str) -> Self;
}
Expand description
Trait for creating generic “other” errors.
Required Methods§
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.