Skip to main content

PublicStream

Trait PublicStream 

Source
pub trait PublicStream: Send + Sync {
    // Required method
    fn subscribe_public<'life0, 'async_trait>(
        &'life0 self,
        subscriptions: Vec<Subscription>,
    ) -> Pin<Box<dyn Future<Output = Result<Box<dyn EventStream>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn subscribe_public<'life0, 'async_trait>( &'life0 self, subscriptions: Vec<Subscription>, ) -> Pin<Box<dyn Future<Output = Result<Box<dyn EventStream>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§