wrpc_runtime_wasmtime::bindings::rpc::invoker

Type Alias Invocation

Source
pub type Invocation = Invocation;

Aliased Type§

enum Invocation {
    Future(Pin<Box<dyn Future<Output = Box<dyn Any + Send>> + Send>>),
    Ready(Box<dyn Any + Send>),
}

Variants§

§

Future(Pin<Box<dyn Future<Output = Box<dyn Any + Send>> + Send>>)

§

Ready(Box<dyn Any + Send>)

Trait Implementations

Source§

impl Pollable for Invocation

Source§

fn ready<'life0, 'async_trait>( &'life0 mut self, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

An asynchronous function which resolves when this object’s readiness operation is ready. Read more