[][src]Trait xtra_addons::PublishExt

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

Required methods

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

Loading content...

Implementors

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

Loading content...