pub trait IoErrorContext<T> {
// Required methods
fn with_path<P: AsRef<Path>>(self, path: P) -> Result<T, WrappedIoError>;
fn with_str<S: Into<String>>(self, context: S) -> Result<T, WrappedIoError>;
}Required Methods§
fn with_path<P: AsRef<Path>>(self, path: P) -> Result<T, WrappedIoError>
fn with_str<S: Into<String>>(self, context: S) -> Result<T, WrappedIoError>
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.