CustomPathExt

Trait CustomPathExt 

Source
pub trait CustomPathExt {
    // Required methods
    fn metadata(&self) -> Result<Metadata>;
    fn exists(&self) -> bool;
    fn is_file(&self) -> bool;
    fn is_dir(&self) -> bool;
    fn str_extension(&self) -> Option<&str>;
}

Required Methods§

Source

fn metadata(&self) -> Result<Metadata>

Source

fn exists(&self) -> bool

Source

fn is_file(&self) -> bool

Source

fn is_dir(&self) -> bool

Source

fn str_extension(&self) -> Option<&str>

Implementations on Foreign Types§

Source§

impl CustomPathExt for Path

Implementors§