pub trait IoResultExt<T> {
// Required method
fn io_context(self, action: &'static str, path: &Path) -> Result<T, Error>;
}Expand description
Attaches the path and the attempted operation to an I/O failure.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".