pub trait ResultExt { fn with_path<T: AsRef<Path>>(self, path: T) -> Self; }
fn with_path<T: AsRef<Path>>(self, path: T) -> Self
impl<T> ResultExt for Result<T, Error>
fn with_path<U: AsRef<Path>>(self, path: U) -> Result<T, Error>