Home
last modified time | relevance | path

Searched refs:BoxFuture (Results 1 – 18 of 18) sorted by relevance

/tonic/tonic/src/transport/channel/service/
H A Dexecutor.rs1 use crate::transport::channel::BoxFuture;
9 inner: Arc<dyn Executor<BoxFuture<'static, ()>> + Send + Sync + 'static>,
15 E: Executor<BoxFuture<'static, ()>> + Send + Sync + 'static, in new()
H A Dadd_origin.rs1 use crate::transport::channel::BoxFuture;
37 type Future = BoxFuture<'static, Result<Self::Response, Self::Error>>;
H A Dconnection.rs4 transport::{channel::BoxFuture, service::GrpcTimeout, Endpoint},
107 type Future = BoxFuture<'static, Result<Self::Response, Self::Error>>;
145 type Future = BoxFuture<'static, Result<Self::Response, Self::Error>>;
183 type Future = BoxFuture<'static, Result<Self::Response, Self::Error>>;
198 Executor::<BoxFuture<'static, ()>>::execute( in call()
H A Dconnector.rs4 use crate::transport::channel::BoxFuture;
42 type Future = BoxFuture<'static, Result<Self::Response, Self::Error>>;
/tonic/tonic/src/transport/channel/
H A Dmod.rs38 type BoxFuture<'a, T> = Pin<Box<dyn Future<Output = T> + Send + 'a>>; typedef
67 svc: Buffer<Request<Body>, BoxFuture<'static, Result<Response<Body>, crate::BoxError>>>,
74 inner: BufferResponseFuture<BoxFuture<'static, Result<Response<Body>, crate::BoxError>>>,
195 E: Executor<BoxFuture<'static, ()>> + Send + Sync + 'static, in balance()
/tonic/tonic/src/
H A Dcodegen.rs19 pub type BoxFuture<T, E> = self::Pin<Box<dyn self::Future<Output = Result<T, E>> + Send + 'static>>; typedef
/tonic/examples/src/tower/
H A Dserver.rs81 type BoxFuture<'a, T> = Pin<Box<dyn std::future::Future<Output = T> + Send + 'a>>; typedef
91 type Future = BoxFuture<'static, Result<Self::Response, Self::Error>>;
/tonic/tests/integration_tests/tests/
H A Dorigin.rs3 use integration_tests::BoxFuture;
92 type Future = BoxFuture<'static, Result<Self::Response, Self::Error>>;
H A Dextensions.rs3 BoxFuture,
136 type Future = BoxFuture<'static, Result<Self::Response, Self::Error>>;
/tonic/tests/integration_tests/src/
H A Dlib.rs74 pub type BoxFuture<'a, T> = std::pin::Pin<Box<dyn std::future::Future<Output = T> + Send + 'a>>; typedef
/tonic/tonic/benches-disabled/benchmarks/compiled_protos/
H A Dhelloworld.rs126 type Future = BoxFuture<Self::Response, Self::Error>;
137 type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>; in call()
/tonic/tonic-health/src/generated/
H A Dgrpc_health_v1.rs320 type Future = BoxFuture<Self::Response, Self::Error>;
337 type Future = BoxFuture< in call()
383 type Future = BoxFuture< in call()
/tonic/tonic-build/src/
H A Dserver.rs157 type Future = BoxFuture<Self::Response, Self::Error>; in generate_internal()
461 type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>; in generate_unary()
528 type Future = BoxFuture<tonic::Response<Self::ResponseStream>, tonic::Status>; in generate_server_streaming()
586 type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>; in generate_client_streaming()
654 type Future = BoxFuture<tonic::Response<Self::ResponseStream>, tonic::Status>; in generate_streaming()
/tonic/interop/src/
H A Dserver.rs23 type BoxFuture<T, E> = Pin<Box<dyn Future<Output = StdResult<T, E>> + Send + 'static>>; typedef
190 type Future = BoxFuture<Self::Response, Self::Error>;
/tonic/tonic-reflection/src/generated/
H A Dgrpc_reflection_v1.rs361 type Future = BoxFuture<Self::Response, Self::Error>;
379 type Future = BoxFuture< in call()
H A Dgrpc_reflection_v1alpha.rs361 type Future = BoxFuture<Self::Response, Self::Error>;
379 type Future = BoxFuture< in call()
/tonic/tonic-web/src/
H A Dservice.rs253 type BoxFuture<T, E> = Pin<Box<dyn Future<Output = Result<T, E>> + Send>>; typedef
261 type Future = BoxFuture<Self::Response, Self::Error>;
/tonic/
H A DCHANGELOG.md378 * **transport:** remove needless `BoxFuture` ([#644](https://github.com/hyperium/tonic/issues/644))…