Trait meio::linkage::InteractionRecipient [−][src]
pub trait InteractionRecipient<T: Interaction>: Debug + Send + 'static { fn interact(&mut self, msg: T) -> InteractionTask<T>; }
Abstract Address
to the Actor
that can handle an interaction.
Required methods
fn interact(&mut self, msg: T) -> InteractionTask<T>
[src]
Interact with an Actor
.
Implementors
impl<T, A> InteractionRecipient<T> for Address<A> where
T: Interaction,
A: Actor + ActionHandler<Interact<T>>,
[src]
impl<T, A> InteractionRecipient<T> for Address<A> where
T: Interaction,
A: Actor + ActionHandler<Interact<T>>,
[src]