pub fn host_c_str_to_str(host: &CStr) -> Cow<'_, str>
Convert an &CStr produced by POSIX-style APIs into a Cow<str> which is either plain UTF-8 or an ARF encoding.
&CStr
Cow<str>