Lines Matching refs:Resp
181 pub fn add_unary_handler<Req, Resp, F>( in add_unary_handler() argument
183 method: &Method<Req, Resp>, in add_unary_handler() argument
188 Resp: 'static, in add_unary_handler()
189 F: FnMut(RpcContext<'_>, Req, UnarySink<Resp>) + Send + Clone + 'static, in add_unary_handler()
201 pub fn add_client_streaming_handler<Req, Resp, F>( in add_client_streaming_handler() argument
203 method: &Method<Req, Resp>, in add_client_streaming_handler() argument
208 Resp: 'static, in add_client_streaming_handler()
209 F: FnMut(RpcContext<'_>, RequestStream<Req>, ClientStreamingSink<Resp>) in add_client_streaming_handler()
224 pub fn add_server_streaming_handler<Req, Resp, F>( in add_server_streaming_handler() argument
226 method: &Method<Req, Resp>, in add_server_streaming_handler() argument
231 Resp: 'static, in add_server_streaming_handler()
232 F: FnMut(RpcContext<'_>, Req, ServerStreamingSink<Resp>) + Send + Clone + 'static, in add_server_streaming_handler()
244 pub fn add_duplex_streaming_handler<Req, Resp, F>( in add_duplex_streaming_handler() argument
246 method: &Method<Req, Resp>, in add_duplex_streaming_handler() argument
251 Resp: 'static, in add_duplex_streaming_handler()
252 F: FnMut(RpcContext<'_>, RequestStream<Req>, DuplexSink<Resp>) + Send + Clone + 'static, in add_duplex_streaming_handler()