core
1.82.0
(f6e511eec 2024-10-15)
Module c_str
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.