uniffi::ffi

Type Alias RustFutureContinuationCallback

Source
pub type RustFutureContinuationCallback = extern "C" fn(_: *const (), _: RustFuturePoll);
Expand description

Foreign callback that’s passed to rust_future_poll

The Rust side of things calls this when the foreign side should call rust_future_poll again to continue progress on the future.