pub fn callback_status_in<E: ErrorDomain>(
err: &FfiError,
) -> Result<(), ForeignError>Expand description
Read the out_err slot a vtable entry of a throws method wrote: a
positive code that E declares (with a payload that decodes) is kept,
and every other failure gets the code FOREIGN_ERROR_CODE.
§Errors
Returns the consumer’s failure when err.code isn’t 0.