Trait tapa_cgloop_nats::NatsMessageHandler [−][src]
pub trait NatsMessageHandler: Sync + Send {
fn handle_message<'life0, 'life1, 'async_trait>(
&'life0 mut self,
message: &'life1 NatsMessage
) -> Pin<Box<dyn Future<Output = AnyResult<ProcessResult>> + Send + 'async_trait>>ⓘ
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}