Searched refs:enable (Results 1 – 13 of 13) sorted by relevance
| /tonic/tonic-build/src/ |
| H A D | code_gen.rs | 26 pub fn emit_package(&mut self, enable: bool) -> &mut Self { in emit_package() 27 self.emit_package = enable; in emit_package() 51 pub fn compile_well_known_types(&mut self, enable: bool) -> &mut Self { in compile_well_known_types() 52 self.compile_well_known_types = enable; in compile_well_known_types() 63 pub fn use_arc_self(&mut self, enable: bool) -> &mut Self { in use_arc_self() 64 self.use_arc_self = enable; in use_arc_self()
|
| H A D | prost.rs | 321 pub fn build_client(mut self, enable: bool) -> Self { in build_client() 322 self.build_client = enable; in build_client() 327 pub fn build_server(mut self, enable: bool) -> Self { in build_server() 328 self.build_server = enable; in build_server() 336 pub fn build_transport(mut self, enable: bool) -> Self { in build_transport() 337 self.build_transport = enable; in build_transport() 525 pub fn use_arc_self(mut self, enable: bool) -> Self { in use_arc_self() 526 self.use_arc_self = enable; in use_arc_self() 571 pub fn emit_rerun_if_changed(mut self, enable: bool) -> Self { in emit_rerun_if_changed() 572 self.emit_rerun_if_changed = enable; in emit_rerun_if_changed() [all …]
|
| H A D | manual.rs | 444 pub fn build_client(mut self, enable: bool) -> Self { in build_client() 445 self.build_client = enable; in build_client() 452 pub fn build_server(mut self, enable: bool) -> Self { in build_server() 453 self.build_server = enable; in build_server() 461 pub fn build_transport(mut self, enable: bool) -> Self { in build_transport() 462 self.build_transport = enable; in build_transport()
|
| H A D | server.rs | 63 self.accept_compression_encodings.enable(encoding); in generate_internal() 70 self.send_compression_encodings.enable(encoding); in generate_internal()
|
| /tonic/tonic-web/src/ |
| H A D | service.rs | 276 fn enable<S>(service: S) -> tower_http::cors::Cors<GrpcWebService<S>> in enable() function 302 let mut svc = enable(Svc); in default_cors_config() 318 let mut svc = enable(Svc); in without_origin() 330 let mut svc = enable(Svc); in only_post_and_options_allowed() 355 let mut svc = enable(Svc); in grpc_web_content_types() 384 let mut svc = enable(Svc); in valid_grpc_web_preflight() 404 let mut svc = enable(Svc); in h2_is_ok() 414 let mut svc = enable(Svc); in h1_is_err() 427 let mut svc = enable(Svc); in content_type_variants() 455 let mut svc = enable(Svc); in h1_is_err() [all …]
|
| /tonic/tonic/src/server/ |
| H A D | grpc.rs | 89 self.accept_compression_encodings.enable(encoding); in accept_compressed() 120 self.send_compression_encodings.enable(encoding); in send_compressed()
|
| /tonic/tonic-health/src/generated/ |
| H A D | grpc_health_v1.rs | 286 self.accept_compression_encodings.enable(encoding); in accept_compressed() 292 self.send_compression_encodings.enable(encoding); in send_compressed()
|
| /tonic/tonic-reflection/src/generated/ |
| H A D | grpc_reflection_v1.rs | 327 self.accept_compression_encodings.enable(encoding); in accept_compressed() 333 self.send_compression_encodings.enable(encoding); in send_compressed()
|
| H A D | grpc_reflection_v1alpha.rs | 327 self.accept_compression_encodings.enable(encoding); in accept_compressed() 333 self.send_compression_encodings.enable(encoding); in send_compressed()
|
| /tonic/tonic/src/codec/ |
| H A D | compression.rs | 26 pub fn enable(&mut self, encoding: CompressionEncoding) { in enable() method
|
| /tonic/tonic/src/client/ |
| H A D | grpc.rs | 130 self.config.accept_compression_encodings.enable(encoding); in accept_compressed()
|
| /tonic/examples/proto/googleapis/google/api/ |
| H A D | resource.proto | 182 // Note: This is used by the API linter (linter.aip.dev) to enable
|
| /tonic/ |
| H A D | CHANGELOG.md | 26 * **channel:** Re-enable TLS based on Cargo features in generated clients (#1866) 151 * **web:** Fix `enable` and update docs ([#1326](https://github.com/hyperium/tonic/issues/1326)) ([… 250 * don't enable default features in tower ([#972](https://github.com/hyperium/tonic/issues/972)) ([b…
|