pub type FFIResult<T> = Result<T, ErrorCode>;Expand description
A result from an FFI function.
Because FFI functions cannot return multiple values, the actual type returned from an FFI function will be just the error code. The actual value that would be returned if the function was successful will be pulled from an output argument that was passed to the extern function
Aliased Type§
pub enum FFIResult<T> {
Ok(T),
Err(ErrorCode),
}