Skip to main content

IoResultExt

Trait IoResultExt 

Source
pub(crate) trait IoResultExt<T> {
    // Required method
    fn with_err_path<F, P>(self, path: F) -> Self
       where F: FnOnce() -> P,
             P: Into<PathBuf>;
}

Required Methods§

Source

fn with_err_path<F, P>(self, path: F) -> Self
where F: FnOnce() -> P, P: Into<PathBuf>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> IoResultExt<T> for Result<T, Error>

Source§

fn with_err_path<F, P>(self, path: F) -> Self
where F: FnOnce() -> P, P: Into<PathBuf>,

Implementors§