path_to_os_str

Function path_to_os_str 

Source
pub fn path_to_os_str(path: &Path) -> &OsStr
Expand description

Returns a path as an OsStr for use in command arguments.

Provides lossless path representation for system commands and APIs.