Module std::ffi1.0.0 [] [src]

Utilities related to FFI bindings.

Structs

CStr

Representation of a borrowed C string.

CString

A type representing an owned C-compatible string

FromBytesWithNulError

An error returned from CStr::from_bytes_with_nul to indicate that a nul byte was found too early in the slice provided or one wasn't found at all.

IntoStringError

An error returned from CString::into_string to indicate that a UTF-8 error was encountered during the conversion.

NulError

An error returned from CString::new to indicate that a nul byte was found in the vector provided.

OsStr

Slices into OS strings (see OsString).

OsString

A type that can represent owned, mutable platform-native strings, but is cheaply inter-convertible with Rust strings.