Trait vin_core::Forwarder

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

Forwards the message to the respective mailbox.

Required Methods

Implementors