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]

fn interact(&mut self, msg: T) -> InteractionTask<T>[src]

fn id_ref(&self) -> &Id[src]

fn dyn_clone(&self) -> Box<dyn InteractionRecipient<T>>[src]

fn dyn_hash(&self, state: &mut dyn Hasher)[src]

Loading content...