[−][src]Trait meio::prelude::InteractionRecipient
Abstract Address
to the Actor
that can handle an interaction.
Required methods
#[must_use]pub fn interact<'life0, 'async_trait>(
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = Result<T::Output, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = Result<T::Output, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Interact with an Actor
.
Implementors
impl<T, A> InteractionRecipient<T> for Address<A> where
T: Interaction,
A: Actor + InteractionHandler<T>,
[src]
T: Interaction,
A: Actor + InteractionHandler<T>,
pub fn interact<'life0, 'async_trait>(
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = Result<T::Output, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = Result<T::Output, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,