Function arf_strings::str_to_host
source · 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.
pub fn str_to_host(s: &str) -> Result<OsString>
Convert a &str
which is either plain UTF-8 or an ARF encoding into a
OsString
ready for use in Windows-style APIs.