Trait method lrs::string::ToCString::to_cstring

Converts the object into an allocated CString.

Syntax

fn to_cstring<H>(&self) -> Result<CString<H>, Errno>
   where H: Allocator,
         <H as Allocator>::Pool: Default,