Converts the object by copying it.
fn to_cstr(&self, buf: &'a mut [u8]) -> Result<&'a mut CStr, Errno>
The buffer in which the CStr will be stored.
CStr
Returns the created CStr.