pub trait IoResultExt<T> {
// Required method
fn with_path<P: Into<PathBuf>>(
self,
path: P,
operation: IoOperation,
) -> FileSystemResult<T>;
}Expand description
Extension trait for adding path context to IO results.
Required Methods§
fn with_path<P: Into<PathBuf>>( self, path: P, operation: IoOperation, ) -> FileSystemResult<T>
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.