pub fn lossless_native_path_display(path: &Path) -> CoreResult<String>Expand description
Return a lossless UTF-8 display projection for a native path.
Windows extended prefixes are normalized only when the conversion keeps
the path absolute and does not discard Win32 verbatim semantics. A native
path that cannot be represented as UTF-8 returns CoreError::NonUtf8Path
instead of a replacement-character path that could select a different
filesystem object.
ยงErrors
Returns CoreError::NonUtf8Path when path contains native data that is
not losslessly representable as UTF-8.