Home
last modified time | relevance | path

Searched refs:M1 (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>,
28 fn call(&mut self, request: Request<M1>) -> Self::Future { in call()
51 impl<T, S, M1, M2> ServerStreamingService<M1> for T
53 T: Service<Request<M1>, Response = Response<S>, Error = crate::Status>,
60 fn call(&mut self, request: Request<M1>) -> Self::Future { in call()
80 impl<T, M1, M2> ClientStreamingService<M1> for T
87 fn call(&mut self, request: Request<Streaming<M1>>) -> Self::Future { in call()
110 impl<T, S, M1, M2> StreamingService<M1> for T
112 T: Service<Request<Streaming<M1>>, Response = Response<S>, Error = crate::Status>,
[all …]
/tonic/tonic/src/client/
H A Dgrpc.rs207 pub async fn unary<M1, M2, C>( in unary() argument
209 request: Request<M1>, in unary() argument
217 C: Codec<Encode = M1, Decode = M2>, in unary()
218 M1: Send + Sync + 'static, in unary()
237 C: Codec<Encode = M1, Decode = M2>, in client_streaming()
238 M1: Send + Sync + 'static, in client_streaming()
265 request: Request<M1>, in server_streaming() argument
273 C: Codec<Encode = M1, Decode = M2>, in server_streaming()
274 M1: Send + Sync + 'static, in server_streaming()
282 pub async fn streaming<S, M1, M2, C>( in streaming() argument
[all …]