Home
last modified time | relevance | path

Searched defs:Future (Results 1 – 25 of 30) sorted by relevance

12

/tonic/tonic/src/server/
H A Dservice.rs15 type Future: Future<Output = Result<Response<Self::Response>, Status>>; typedef
18 fn call(&mut self, request: Request<R>) -> Self::Future; in call()
26 type Future = T::Future; typedef
28 fn call(&mut self, request: Request<M1>) -> Self::Future { in call()
48 fn call(&mut self, request: Request<R>) -> Self::Future; in call()
58 type Future = T::Future; typedef
60 fn call(&mut self, request: Request<M1>) -> Self::Future { in call()
77 fn call(&mut self, request: Request<Streaming<R>>) -> Self::Future; in call()
85 type Future = T::Future; typedef
107 fn call(&mut self, request: Request<Streaming<R>>) -> Self::Future; in call()
[all …]
/tonic/tonic/src/client/
H A Dservice.rs19 type Future: Future<Output = Result<http::Response<Self::ResponseBody>, Self::Error>>; typedef
29 fn call(&mut self, request: http::Request<ReqBody>) -> Self::Future; in call()
41 type Future = T::Future; typedef
47 fn call(&mut self, request: http::Request<ReqBody>) -> Self::Future { in call()
/tonic/tonic/src/transport/channel/service/
H A Dconnection.rs107 type Future = BoxFuture<'static, Result<Self::Response, Self::Error>>; typedef
113 fn call(&mut self, req: Request<Body>) -> Self::Future { in call()
145 type Future = BoxFuture<'static, Result<Self::Response, Self::Error>>; typedef
151 fn call(&mut self, req: Request<Body>) -> Self::Future { in call()
183 type Future = BoxFuture<'static, Result<Self::Response, Self::Error>>; typedef
189 fn call(&mut self, req: Uri) -> Self::Future { in call()
H A Dadd_origin.rs37 type Future = BoxFuture<'static, Result<Self::Response, Self::Error>>; typedef
43 fn call(&mut self, req: Request<ReqBody>) -> Self::Future { in call()
H A Duser_agent.rs35 type Future = T::Future; typedef
41 fn call(&mut self, mut req: Request<ReqBody>) -> Self::Future { in call()
H A Dconnector.rs42 type Future = BoxFuture<'static, Result<Self::Response, Self::Error>>; typedef
50 fn call(&mut self, uri: Uri) -> Self::Future { in call()
H A Dreconnect.rs60 type Future = ResponseFuture<S::Future>; typedef
140 fn call(&mut self, request: Request) -> Self::Future { in call()
184 Future(#[pin] F), enumerator
/tonic/tonic/benches-disabled/benchmarks/compiled_protos/
H A Dhelloworld.rs115 type Future = Ready<Result<Self::Response, Self::Error>>; typedef
119 fn call(&mut self, _: R) -> Self::Future { in call()
126 type Future = BoxFuture<Self::Response, Self::Error>; typedef
130 fn call(&mut self, req: http::Request<HyperBody>) -> Self::Future { in call()
137 type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>; in call() typedef
141 ) -> Self::Future { in call()
/tonic/examples/src/h2c/
H A Dclient.rs52 type Future = typedef
59 fn call(&mut self, request: http::Request<Body>) -> Self::Future { in call()
H A Dserver.rs90 type Future = typedef
100 fn call(&mut self, req: hyper::Request<Incoming>) -> Self::Future { in call()
/tonic/examples/src/tower/
H A Dclient.rs64 type Future = Pin<Box<dyn Future<Output = Result<Self::Response, Self::Error>> + Send>>; typedef
70 fn call(&mut self, req: Request<Body>) -> Self::Future { in call()
H A Dserver.rs91 type Future = BoxFuture<'static, Result<Self::Response, Self::Error>>; typedef
97 fn call(&mut self, req: http::Request<ReqBody>) -> Self::Future { in call()
/tonic/tests/integration_tests/tests/
H A Dorigin.rs92 type Future = BoxFuture<'static, Result<Self::Response, Self::Error>>; typedef
98 fn call(&mut self, req: Request<tonic::body::Body>) -> Self::Future { in call()
H A Dcomplex_tower_middleware.rs62 type Future = MyFuture<S::Future, ResBody>; typedef
68 fn call(&mut self, req: R) -> Self::Future { in call()
H A Dextensions.rs136 type Future = BoxFuture<'static, Result<Self::Response, Self::Error>>; typedef
142 fn call(&mut self, mut req: http::Request<Body>) -> Self::Future { in call()
/tonic/tests/compression/src/
H A Dcompressing_response.rs27 type Future = S::Future; in client_enabled_server_enabled() typedef
36 fn call(&mut self, req: http::Request<B>) -> Self::Future { in client_enabled_server_enabled()
213 type Future = S::Future; in client_disabled() typedef
222 fn call(&mut self, req: http::Request<B>) -> Self::Future { in client_disabled()
/tonic/tonic-web/src/
H A Dclient.rs57 type Future = ResponseFuture<S::Future>; typedef
63 fn call(&mut self, mut req: Request<B1>) -> Self::Future { in call()
H A Dservice.rs54 type Future = ResponseFuture<S::Future>; typedef
60 fn call(&mut self, req: Request<B>) -> Self::Future { in call()
261 type Future = BoxFuture<Self::Response, Self::Error>; typedef
267 fn call(&mut self, _: Request<Body>) -> Self::Future { in call()
/tonic/tonic/src/service/
H A Dlayered.rs28 type Future = S::Future; typedef
34 fn call(&mut self, req: Req) -> Self::Future { in call()
H A Drecover_error.rs59 type Future = ResponseFuture<S::Future>; typedef
65 fn call(&mut self, req: Req) -> Self::Future { in call()
H A Dinterceptor.rs122 type Future = ResponseFuture<S::Future>; typedef
129 fn call(&mut self, req: http::Request<ReqBody>) -> Self::Future { in call()
189 Future(#[pin] F), enumerator
H A Drouter.rs150 type Future = RoutesFuture; typedef
157 fn call(&mut self, req: Request<B>) -> Self::Future { in call()
/tonic/tonic-health/src/generated/
H A Dgrpc_health_v1.rs320 type Future = BoxFuture<Self::Response, Self::Error>; typedef
327 fn call(&mut self, req: http::Request<B>) -> Self::Future { in call()
337 type Future = BoxFuture< in call() typedef
344 ) -> Self::Future { in call()
383 type Future = BoxFuture< in call() typedef
390 ) -> Self::Future { in call()
/tonic/tonic-reflection/src/generated/
H A Dgrpc_reflection_v1.rs361 type Future = BoxFuture<Self::Response, Self::Error>; typedef
368 fn call(&mut self, req: http::Request<B>) -> Self::Future { in call()
379 type Future = BoxFuture< in call() typedef
388 ) -> Self::Future { in call()
H A Dgrpc_reflection_v1alpha.rs361 type Future = BoxFuture<Self::Response, Self::Error>; typedef
368 fn call(&mut self, req: http::Request<B>) -> Self::Future { in call()
379 type Future = BoxFuture< in call() typedef
388 ) -> Self::Future { in call()

12