[−][src]Trait messagebus::AsyncHandler
Required methods
#[must_use]pub fn handle<'life0, 'life1, 'async_trait>(
&'life0 self,
msg: M,
bus: &'life1 Bus
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
msg: M,
bus: &'life1 Bus
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Provided methods
#[must_use]pub fn sync<'life0, 'life1, 'async_trait>(
&'life0 self,
_bus: &'life1 Bus
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
_bus: &'life1 Bus
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,