W3cubDocs

/Rust

Module c_str

CStr, CString, and related types.

Structs

CStr
A dynamically-sized view of a C string.
CString
A type representing an owned, C-compatible, nul-terminated string with no nul bytes in the middle.
FromBytesUntilNulError
An error indicating that no nul byte was present.
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.

Enums

FromBytesWithNulError
An error indicating that a nul byte was not in the expected position.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/ffi/c_str/index.html