Trait tonic::server::ClientStreamingService[][src]

pub trait ClientStreamingService<R> {
    type Response;
    type Future: Future<Output = Result<Response<Self::Response>, Status>>;
    fn call(&mut self, request: Request<Streaming<R>>) -> Self::Future;
}
Expand description

A specialization of tower_service::Service.

Existing tower_service::Service implementations with the correct form will automatically implement ClientStreamingService.

Associated Types

Protobuf response message type

Response future

Required methods

Call the service

Implementors