pub trait PathTypeExt {
// Provided method
fn from_entry(entry: DirEntry) -> Result<PathType, Error> { ... }
}Expand description
Extended methods for PathType
Provided Methods§
Sourcefn from_entry(entry: DirEntry) -> Result<PathType, Error>
fn from_entry(entry: DirEntry) -> Result<PathType, Error>
Create a PathType from a walkdir::DirEntry using fewer syscalls.
See PathDir::walk
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.