pub fn host_to_str(host: &OsStr) -> Result<String>
Convert an &OsStr produced by Windows-style APIs into a Cow<str> which is either plain UTF-8 or an ARF encoding.
&OsStr
Cow<str>