Trait WithPath

Source
pub trait WithPath {
    // Required method
    fn with_path<PathT>(self, path: PathT) -> Self
       where PathT: AsRef<Path>;
}
Expand description

With path.

Required Methods§

Source

fn with_path<PathT>(self, path: PathT) -> Self
where PathT: AsRef<Path>,

With path.

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.

Implementations on Foreign Types§

Source§

impl WithPath for Error

Source§

fn with_path<PathT>(self, path: PathT) -> Self
where PathT: AsRef<Path>,

Source§

impl<OkT> WithPath for Result<OkT>

Source§

fn with_path<PathT>(self, path: PathT) -> Self
where PathT: AsRef<Path>,

Implementors§