pub trait ClientStreamingSvc<R> {
    type Response;
    type Future: Future<Output = Result<Response<Self::Response>, Status>>;

    // Required method
    fn call(&mut self, req: Request<Decoding<R>>) -> Self::Future;
}

Required Associated Types§

Required Methods§

source

fn call(&mut self, req: Request<Decoding<R>>) -> Self::Future

Implementors§

source§

impl<T, M1, M2> ClientStreamingSvc<M1> for Twhere T: Service<Request<Decoding<M1>>, Response = Response<M2>, Error = Status>,

§

type Response = M2

§

type Future = <T as Service<Request<Decoding<M1>>>>::Future