pub trait FfiFutureExecutor: Send + Sync {
    fn dyn_spawn(
        &self,
        future: VirtualPtr<dyn Send + FfiFuture + 'static>
    ) -> VirtualPtr<dyn Send + FfiFuture + 'static>; fn dyn_spawn_blocking(
        &self,
        action: Box<dyn Send + FnMut() + 'static>
    ) -> VirtualPtr<dyn Send + FfiFuture + 'static>; fn dyn_block_on(&self, future: VirtualPtr<dyn FfiFuture + '_>); fn dyn_enter(&self) -> VirtualPtr<dyn DropGlue + '_> { ... } }
Available on crate features dyn-traits and futures only.
Expand description

Models an async runtime’s handle.

Required Methods

Provided Methods

Trait Implementations

Implementations on Foreign Types

Implementors