uniffi::ffi::rustfuture

Function rust_future_complete

Source
pub unsafe fn rust_future_complete<ReturnType>(
    handle: RustFutureHandle,
    out_status: &mut RustCallStatus,
) -> ReturnType
Expand description

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