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