uniffi::ffi

Function rust_future_free

Source
pub unsafe fn rust_future_free<ReturnType>(handle: RustFutureHandle)
Expand description

Free a Rust future, dropping the strong reference and releasing all references held by the future.

ยงSafety

The RustFutureHandle must not previously have been passed to rust_future_free