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