Skip to main content

path_to_string_lossy

Function path_to_string_lossy 

Source
pub fn path_to_string_lossy(path: &Path) -> Cow<'_, str>
Expand description

Lossy UTF-8 conversion suitable for logs and UI only.

Never use the result as a filesystem path for further I/O.

ยงFilesystem access

No.