Trait wasmbox::AsyncWasmBox
source · [−]pub trait AsyncWasmBox: 'static + Sized {
type Input: Serialize;
type Output: DeserializeOwned;
fn run<'async_trait>(
ctx: WasmBoxContext<Self::Input, Self::Output>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where
Self: 'async_trait;
}