Home
last modified time | relevance | path

Searched refs:M2 (Results 1 – 2 of 2) sorted by relevance

/tonic/tonic/src/server/
H A Dservice.rs21 impl<T, M1, M2> UnaryService<M1> for T
23 T: Service<Request<M1>, Response = Response<M2>, Error = crate::Status>,
25 type Response = M2;
51 impl<T, S, M1, M2> ServerStreamingService<M1> for T
54 S: Stream<Item = Result<M2, crate::Status>>,
56 type Response = M2;
80 impl<T, M1, M2> ClientStreamingService<M1> for T
84 type Response = M2;
110 impl<T, S, M1, M2> StreamingService<M1> for T
113 S: Stream<Item = Result<M2, crate::Status>>,
[all …]
/tonic/tonic/src/client/
H A Dgrpc.rs207 pub async fn unary<M1, M2, C>( in unary() argument
212 ) -> Result<Response<M2>, Status> in unary() argument
217 C: Codec<Encode = M1, Decode = M2>, in unary()
219 M2: Send + Sync + 'static, in unary()
231 ) -> Result<Response<M2>, Status> in client_streaming() argument
237 C: Codec<Encode = M1, Decode = M2>, in client_streaming()
239 M2: Send + Sync + 'static, in client_streaming()
275 M2: Send + Sync + 'static, in server_streaming()
282 pub async fn streaming<S, M1, M2, C>( in streaming() argument
295 M2: Send + Sync + 'static, in streaming()
[all …]