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