trait DebugMapErr<T, E: Debug> {
// Required method
fn debug_map_err<E2>(self, target: E2) -> Result<T, E2>;
}Required Methods§
Sourcefn debug_map_err<E2>(self, target: E2) -> Result<T, E2>
fn debug_map_err<E2>(self, target: E2) -> Result<T, E2>
Logs the error using tracing::debug and maps it to a new error type
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.