# Module alloc::ffi::c_str

source ·
🔬This is a nightly-only experimental API. (`c_str_module` #112134)
Expand description

`CString` and its related types.

## Structs§

- CString
  A type representing an owned, C-compatible, nul-terminated string with no nul bytes in the middle.
- FromVecWithNulError
  An error indicating that a nul byte was not in the expected position.
- IntoStringError
  An error indicating invalid UTF-8 when converting a `CString` into a `String`.
- NulError
  An error indicating that an interior nul byte was found.