get_str_from_pointer

Function get_str_from_pointer 

Source
pub fn get_str_from_pointer<'a>(ptr: *const c_char) -> Option<&'a str>
Expand description

Tries to convert a pointer to a CString into a Rust str