pub unsafe fn rust_future_free<ReturnType, UT>(handle: Handle)where
    dyn RustFutureFfi<ReturnType>: HandleAlloc<UT>,
Expand description

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

Safety

The Handle must not previously have been passed to rust_future_free