PathError in rustdoc::docfs - Rust (original) (raw)

rustdoc::docfs

Trait PathError

Source

pub(crate) trait PathError {
    // Required method
    fn new<S, P: AsRef<Path>>(e: S, path: P) -> Self
       where S: ToString + Sized;
}

Required Methods§

Source

fn new<S, P: AsRef<Path>>(e: S, path: P) -> Self

where S: ToString + Sized,

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.

Implementors§

Source§

impl PathError for Error