pub trait PrettyError: Error + Sized {
// Provided method
fn fmt_pretty(&self, fmt: &mut ErrorFormatter<'_>) { ... }
}
Provided Methods§
fn fmt_pretty(&self, fmt: &mut ErrorFormatter<'_>)
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.