std:ffi

FFI is Rust's method of interacting with non-Rust libraries. This trait provides a number of utilities for this purpose.

Structs, Traits, and EnumsStructs CStrCString (representation of a borrowed C string and an owned C-compatible string respectively), FromBytesWithNullError (error returned from CStr::from_bytes_with_nul), IntoStringError (error returned from CString::into_string to indicate a UTF8 error during a conversion), NulError (returns an error from CString::new indicating a null byte was found in the provided vector), OsStr, and OsString (slices into OS strings).

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset