pub trait ErrorContext {
// Required methods
fn make_inner(self) -> Self;
fn msg<T: Into<String>>(self, msg: T) -> Self;
}
Expand description
The ErrorContext trait should be implemented for the context macro to work.
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.