pub trait PathResultExt<T> {
// Required method
fn with_path<P>(self, action: &'static str, path: P) -> Result<T>
where P: AsRef<Path>;
}Expand description
Adds file-system path context to fallible operations.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".