Trait method lrs::string::AsCStr::as_cstr

Borrows the object as a CStr.

Syntax

fn as_cstr(&self) -> Result<&CStr, Errno>