Home
last modified time | relevance | path

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

12

/tonic/tests/wellknown-compiled/proto/
H A Dtest.proto9 service Service { service
10 rpc Call(Input) returns (google.protobuf.Empty);
/tonic/tests/service_named_service/proto/
H A Dfoo.proto5 service Service { service
6 rpc Foo(stream FooRequest) returns (stream FooResponse) {}
/tonic/tonic-web/src/
H A Dlayer.rs19 type Service = GrpcWebService<S>; typedef
21 fn layer(&self, inner: S) -> Self::Service { in layer()
H A Dclient.rs29 type Service = GrpcWebClientService<S>; typedef
31 fn layer(&self, inner: S) -> Self::Service { in layer()
51 impl<S, B1, B2> Service<Request<B1>> for GrpcWebClientService<S> impl
/tonic/tests/integration_tests/tests/
H A Dorigin.rs72 type Service = OriginService<S>; typedef
74 fn layer(&self, inner: S) -> Self::Service { in layer()
84 impl<T> Service<Request<tonic::body::Body>> for OriginService<T> impl
H A Dcomplex_tower_middleware.rs44 type Service = MyService<S>; typedef
46 fn layer(&self, inner: S) -> Self::Service { in layer()
H A Dextensions.rs125 impl<S> Service<http::Request<Body>> for InterceptedService<S> impl
/tonic/examples/src/tower/
H A Dserver.rs69 type Service = MyMiddleware<S>; typedef
71 fn layer(&self, service: S) -> Self::Service { in layer()
83 impl<S, ReqBody, ResBody> Service<http::Request<ReqBody>> for MyMiddleware<S> impl
H A Dclient.rs60 impl Service<Request<Body>> for AuthSvc { impl
/tonic/tonic-build/src/
H A Dmanual.rs103 pub fn build(self) -> Service { in build()
115 pub struct Service { struct
126 impl Service { argument
133 impl crate::Service for Service { implementation
362 fn generate(&mut self, service: &Service) { in generate()
478 pub fn compile(self, services: &[Service]) { in compile()
H A Dcode_gen.rs78 pub fn generate_client(&self, service: &impl Service, proto_path: &str) -> TokenStream { in generate_client()
94 pub fn generate_server(&self, service: &impl Service, proto_path: &str) -> TokenStream { in generate_server()
H A Dlib.rs103 pub trait Service { interface
/tonic/tonic/src/transport/server/service/
H A Dio.rs27 type Service = ConnectInfo<S, T>; typedef
29 fn layer(&self, inner: S) -> Self::Service { in layer()
49 impl<S, IO, ReqBody> Service<http::Request<ReqBody>> for ConnectInfo<S, ServerIoConnectInfo<IO>> impl
/tonic/tonic/src/service/
H A Dlayered.rs42 fn named_layer<S>(&self, service: S) -> Layered<L::Service, S> in named_layer()
48 fn named_layer<S>(&self, service: S) -> Layered<<L>::Service, S> in named_layer()
H A Drecover_error.rs31 type Service = RecoverError<S>; typedef
33 fn layer(&self, inner: S) -> Self::Service { in layer()
H A Dinterceptor.rs76 type Service = InterceptedService<S, I>; typedef
78 fn layer(&self, service: S) -> Self::Service { in layer()
115 impl<S, I, ReqBody, ResBody> Service<http::Request<ReqBody>> for InterceptedService<S, I> impl
H A Drouter.rs143 impl<B> Service<Request<B>> for Routes impl
/tonic/examples/src/h2c/
H A Dclient.rs49 impl Service<http::Request<Body>> for H2cChannel { impl
H A Dserver.rs82 impl<S> Service<Request<Incoming>> for H2c<S> impl
/tonic/tonic/src/transport/channel/service/
H A Dadd_origin.rs29 impl<T, ReqBody> Service<Request<ReqBody>> for AddOrigin<T> impl
H A Duser_agent.rs29 impl<T, ReqBody> Service<Request<ReqBody>> for UserAgent<T> impl
/tonic/tests/compression/src/
H A Dcompressing_response.rs21 impl<S, B> Service<http::Request<B>> for AssertCorrectAcceptEncoding<S> in client_enabled_server_enabled() impl
207 impl<S, B> Service<http::Request<B>> for AssertCorrectAcceptEncoding<S> in client_disabled() impl
/tonic/tonic/src/transport/channel/
H A Dmod.rs192 D: Discover<Service = Connection> + Unpin + Send + 'static, in balance()
207 impl Service<http::Request<Body>> for Channel { impl
/tonic/tonic/src/transport/service/
H A Dgrpc_timeout.rs28 impl<S, ReqBody> Service<Request<ReqBody>> for GrpcTimeout<S> impl
/tonic/interop/src/
H A Dserver.rs183 impl<S> Service<http::Request<Body>> for EchoHeadersSvc<S> impl

12