Forwarder

Trait Forwarder 

Source
pub trait Forwarder<M: Message> {
    // Required method
    fn forward<'life0, 'async_trait>(
        &'life0 self,
        msg: WrappedMessage<M>,
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Forwards the message to the respective mailbox.

Required Methods§

Source

fn forward<'life0, 'async_trait>( &'life0 self, msg: WrappedMessage<M>, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§