Trait AsCStr
cstr_enum
pub trait AsCStr { fn as_cstr(&self) -> &CStr; }
Conversion to a C-style string.
If using the derive macro, this will be a cheap conversion.
fn as_cstr(&self) -> &CStr
Represent self as a &CStr
&CStr