PublishExt

Trait PublishExt 

Source
pub trait PublishExt<M>
where M: Message<Result = ()> + Clone,
{ // Required method fn publish<'life0, 'async_trait>( &'life0 self, message: M, ) -> Pin<Box<dyn Future<Output = Result<(), Disconnected>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; }

Required Methods§

Source

fn publish<'life0, 'async_trait>( &'life0 self, message: M, ) -> Pin<Box<dyn Future<Output = Result<(), Disconnected>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§

Source§

impl<M> PublishExt<M> for Address<Broker<M>>
where M: Message<Result = ()> + Clone,