Module drone_core::ffi[][src]

Utilities related to FFI bindings.

This module is an analogue of std::ffi (without OsStr/OsString) and std::os::raw. See their documentations for more details.

Re-exports

pub use drone_ctypes::*;

Modules

libc

Subset of C standard library.

Structs

CStr

Representation of a borrowed C string.

CString

A type representing an owned, C-compatible, nul-terminated string with no nul bytes in the middle.

FromBytesWithNulError

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.