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>;
}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>;
}