pub(crate) trait ErrorContext {
// Required method
fn context<C: Display>(self, context: C) -> Self;
}Expand description
Prepend Error messages by context.
Trait for Error objects that allows prepending their error messages by something that gives
context.
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.