Searched refs:enabled (Results 1 – 6 of 6) sorted by relevance
| /tonic/examples/src/dynamic/ |
| H A D | server.rs | 35 let enabled = args.iter().any(|arg| arg.as_str() == "echo"); in init_echo() localVariable 36 if enabled { in init_echo() 62 let enabled = args.iter().any(|arg| arg.as_str() == "greeter"); in init_greeter() localVariable 64 if enabled { in init_greeter()
|
| /tonic/tonic/src/transport/channel/ |
| H A D | endpoint.rs | 261 pub fn tcp_nodelay(self, enabled: bool) -> Self { in tcp_nodelay() 263 tcp_nodelay: enabled, in tcp_nodelay() 285 pub fn keep_alive_while_idle(self, enabled: bool) -> Self { in keep_alive_while_idle() 287 http2_keep_alive_while_idle: Some(enabled), in keep_alive_while_idle() 293 pub fn http2_adaptive_window(self, enabled: bool) -> Self { in http2_adaptive_window() 295 http2_adaptive_window: Some(enabled), in http2_adaptive_window()
|
| /tonic/tonic-types/proto/ |
| H A D | error_details.proto | 59 // calling project hasn't enabled the service in the developer console, then 91 // is not enabled: 101 // This response indicates that the pubsub.googleapis.com API is not enabled. 224 // project hasn't enabled the accessed service, this can contain a URL pointing
|
| /tonic/tonic-build/src/ |
| H A D | client.rs | 140 fn generate_connect(service_ident: &syn::Ident, enabled: bool) -> TokenStream { in generate_connect() 155 if enabled { in generate_connect()
|
| /tonic/tonic/src/transport/server/ |
| H A D | mod.rs | 299 pub fn http2_adaptive_window(self, enabled: Option<bool>) -> Self { in http2_adaptive_window() 301 http2_adaptive_window: enabled, in http2_adaptive_window() 337 pub fn tcp_nodelay(self, enabled: bool) -> Self { in tcp_nodelay() 339 tcp_nodelay: enabled, in tcp_nodelay()
|
| /tonic/examples/proto/googleapis/google/api/ |
| H A D | http.proto | 141 // The following HTTP JSON to RPC mapping is enabled, where the 169 // The following HTTP JSON to RPC mapping is enabled:
|