pub trait AsyncTrampoline<D: Send, C: Send + Sync = ()>:
Send
+ Sync
+ 'static {
// Provided method
fn bounce_async<'c>(
&'c self,
call: AsyncGuestCall<'c, D, C>,
) -> Pin<Box<dyn Future<Output = Result<AsyncGuestResult<'c, D, C>, Error>> + Send + 'c>> { ... }
}Expand description
Like Trampoline, but for asynchronous WASM function calls.