Skip to main content

FfiError

Type Alias FfiError 

Source
pub type FfiError = (c_int, String);
Expand description

A failure on its way out of an entry point: why it failed, and what to say about it.

Carried instead of a rendered string so the classification reaches the boundary. The message is a String because it is about to be copied into a CString anyway.