core
1.83.0-dev
Module c_str
Module Items
Structs
In core::
ffi
Module
core
::
ffi
::
c_str
Copy item path
source
·
[
−
]
🔬
This is a nightly-only experimental API. (
c_str_module
#112134
)
Expand description
CStr
and its related types.
Structs
§
CStr
Representation of a borrowed C string.
From
Bytes
Until
NulError
An error indicating that no nul byte was present.
From
Bytes
With
NulError
An error indicating that a nul byte was not in the expected position.
Bytes
Experimental
An iterator over the bytes of a
CStr
, without the nul terminator.