pub unsafe fn rust_future_complete<ReturnType, UT>(
    handle: Handle,
    out_status: &mut RustCallStatus
) -> ReturnType
where dyn RustFutureFfi<ReturnType>: HandleAlloc<UT>,
Expand description

Reexport items from other uniffi creates Complete a Rust future

Note: the actually extern “C” scaffolding functions can’t be generic, so we generate one for each supported FFI type.

§Safety

  • The Handle must not previously have been passed to rust_future_free
  • The T param must correctly correspond to the rust_future_new call. It must be <Output as LowerReturn<UT>>::ReturnType