Trait meio::handlers::InteractionHandler [−][src]
pub trait InteractionHandler<I: Interaction>: Actor {
fn handle<'life0, 'life1, 'async_trait>(
&'life0 mut self,
input: I,
_ctx: &'life1 mut Context<Self>
) -> Pin<Box<dyn Future<Output = Result<I::Output, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}
Expand description
Implements an interaction with an Actor
.
Required methods
Asyncronous method that receives incoming message.