Crate cstr_core

Source

Macros§

  • Generate a CStr at compile time that is guaranteed to be correct. The given argument should be a string literal with no \0 bytes.

Structs§

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

Type Aliases§