rs::util::c

Function into_cstring

Source
pub fn into_cstring(s: *const c_char) -> Result<Option<CString>, NulError>