std::ffi

Module c_str

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

CStr, CString, and related types.

Structs§

  • CStrExperimental
    Representation of a borrowed C string.
  • CStringExperimental
    A type representing an owned, C-compatible, nul-terminated string with no nul bytes in the middle.
  • An error indicating that no nul byte was present.
  • An error indicating that a nul byte was not in the expected position.
  • An error indicating that a nul byte was not in the expected position.
  • IntoStringErrorExperimental
    An error indicating invalid UTF-8 when converting a CString into a String.
  • NulErrorExperimental
    An error indicating that an interior nul byte was found.