pub trait PathsInErrorsExt {
// Provided method
fn with_paths_in_errors(&self) -> SysWithPathsInErrors<'_, Self> { ... }
}Expand description
Extension trait that provides the with_paths_in_errors method.
Import this trait to use .with_paths_in_errors() on any type.
Provided Methods§
Sourcefn with_paths_in_errors(&self) -> SysWithPathsInErrors<'_, Self>
fn with_paths_in_errors(&self) -> SysWithPathsInErrors<'_, Self>
Wraps self in a SysWithPathsInErrors that includes paths in error messages.
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.