ClientHandler

Trait ClientHandler 

Source
pub trait ClientHandler<'b> {
    // Required method
    fn call<'a, 'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        package: &'life1 str,
        service: &'life2 str,
        method: &'life3 str,
        input: Box<dyn Stream<Item = Result<Bytes, ServiceError>> + Unpin + 'a>,
    ) -> Pin<Box<dyn Future<Output = Result<Box<dyn Stream<Item = Result<Bytes, ServiceError>> + Unpin + 'a>, ServiceError>> + 'async_trait>>
       where 'a: 'async_trait,
             'a: 'b,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait,
             Self: 'async_trait;
}

Required Methods§

Source

fn call<'a, 'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, package: &'life1 str, service: &'life2 str, method: &'life3 str, input: Box<dyn Stream<Item = Result<Bytes, ServiceError>> + Unpin + 'a>, ) -> Pin<Box<dyn Future<Output = Result<Box<dyn Stream<Item = Result<Bytes, ServiceError>> + Unpin + 'a>, ServiceError>> + 'async_trait>>
where 'a: 'async_trait, 'a: 'b, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

Implementors§