Trait meio::ActionRecipient [−][src]
pub trait ActionRecipient<T: Action>: Debug + Send + 'static { fn act<'life0, 'async_trait>(
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; }
Expand description
Abstract Address
to the Actor
that can handle a specific message type.