Trait wasmcloud_example_runner::RunnerReceiver [−][src]
pub trait RunnerReceiver: MessageDispatch + Runner {
fn dispatch<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
message: &'life2 Message<'life3>
) -> Pin<Box<dyn Future<Output = RpcResult<Message<'_>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: Sync + 'async_trait,
{ ... }
}Expand description
RunnerReceiver receives messages defined in the Runner service trait The Runner interface has a single Run method