Trait messagebus::AsyncBatchSynchronizedHandler[][src]

pub trait AsyncBatchSynchronizedHandler<M: Message>: Send {
#[must_use]    fn handle<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        msg: Vec<M>,
        bus: &'life1 Bus
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; #[must_use] fn sync<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        _bus: &'life1 Bus
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
, { ... } }

Required methods

#[must_use]fn handle<'life0, 'life1, 'async_trait>(
    &'life0 mut self,
    msg: Vec<M>,
    bus: &'life1 Bus
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Provided methods

#[must_use]fn sync<'life0, 'life1, 'async_trait>(
    &'life0 mut self,
    _bus: &'life1 Bus
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Implementors

Loading content...