pub trait PathToStringExt {
// Required method
fn path_to_string(&self) -> Result<String>;
}
Expand description
Extension trait for getting a String from a Path.
Required Methods§
Sourcefn path_to_string(&self) -> Result<String>
fn path_to_string(&self) -> Result<String>
Convert the path to a string if it is valid UTF-8, and return an error otherwise.