pub trait PathName: Sealed {
// Required method
fn path_name(&self) -> Result<&NonEmptyStr, Error>;
// Provided method
fn path_name_owned(&self) -> Result<NonEmptyString, Error> { ... }
}Expand description
Fetching path names.
pub trait PathName: Sealed {
// Required method
fn path_name(&self) -> Result<&NonEmptyStr, Error>;
// Provided method
fn path_name_owned(&self) -> Result<NonEmptyString, Error> { ... }
}Fetching path names.