Trait tempfile::error::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>,

Object Safety§

This trait is not object safe.

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§