Trait meio::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.

Loading content...

Implementors

impl<T, A> InteractionRecipient<T> for Address<A> where
    T: Interaction,
    A: Actor + ActionHandler<Interact<T>>, 
[src]

Loading content...