[][src]Trait tower_grpc::generic::server::ClientStreamingService

pub trait ClientStreamingService<RequestStream> {
    type Response;
    type Future: Future<Item = Response<Self::Response>, Error = Status>;
    fn call(&mut self, request: Request<RequestStream>) -> Self::Future;
}

A specialization of tower_service::Service.

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

Associated Types

type Response

Protobuf response message type

type Future: Future<Item = Response<Self::Response>, Error = Status>

Response future

Loading content...

Required methods

fn call(&mut self, request: Request<RequestStream>) -> Self::Future

Call the service

Loading content...

Implementors

impl<T, M, S> ClientStreamingService<S> for T where
    T: Service<Request<S>, Response = Response<M>, Error = Status>,
    S: Stream<Error = Status>, 
[src]

type Response = M

type Future = T::Future

Loading content...