pub fn path_c_string(path: &Path) -> Result<CString, PathCStringError>Expand description
ยงErrors
Returns PathCStringError::NotUtf8 when path is not valid UTF-8, or
PathCStringError::ContainsNulByte when it contains a NUL byte.
pub fn path_c_string(path: &Path) -> Result<CString, PathCStringError>Returns PathCStringError::NotUtf8 when path is not valid UTF-8, or
PathCStringError::ContainsNulByte when it contains a NUL byte.