Function wrapres

Source
pub fn wrapres<T, E>(x: Result<T, E>) -> FFIResult
where T: Send + Sync + 'static, E: Send + Sync + 'static,