Function arf_strings::str_to_host [−][src]
pub fn str_to_host(s: &str) -> Result<OsString>
Expand description
Convert a &str
which is either plain UTF-8 or an ARF encoding into a
OsString
ready for use in Windows-style APIs.