pub trait DmqPublisher<M: TryToBytes + Send + Sync>: Send + Sync {
// Required method
fn publish_message<'life0, 'async_trait>(
&'life0 self,
message: M,
) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Trait for publishing messages from a DMQ node.