ResponseService

Trait ResponseService 

Source
pub trait ResponseService {
    // Required method
    fn register<'life0, 'async_trait>(
        &'life0 self,
        options: StreamOptions,
    ) -> Pin<Box<dyn Future<Output = PendingConnections> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

A ResponseService implements a services in which a context a specific subject with will be associated with a stream of responses.

Required Methods§

Source

fn register<'life0, 'async_trait>( &'life0 self, options: StreamOptions, ) -> Pin<Box<dyn Future<Output = PendingConnections> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§