Home
last modified time | relevance | path

Searched refs:bool (Results 1 – 25 of 56) sorted by relevance

123

/tonic/tonic/benches-disabled/benchmarks/compiled_protos/
H A Ddiverse_types.rs10 pub field80: bool,
12 pub field81: bool,
28 pub field59: bool,
36 pub field12: bool,
38 pub field17: bool,
40 pub field13: bool,
42 pub field14: bool,
56 pub field30: bool,
68 pub field24: bool,
74 pub field78: bool,
[all …]
/tonic/tonic/benches-disabled/proto/diverse_types/
H A Ddiverse_types.proto18 bool field80 = 80;
19 bool field81 = 81;
27 bool field59 = 59;
31 bool field12 = 12;
32 bool field17 = 17;
33 bool field13 = 13;
34 bool field14 = 14;
41 bool field30 = 30;
47 bool field24 = 24;
50 bool field78 = 78;
[all …]
/tonic/tonic-build/src/
H A Dcode_gen.rs10 emit_package: bool,
11 compile_well_known_types: bool,
13 build_transport: bool,
15 use_arc_self: bool,
16 generate_default_stubs: bool,
26 pub fn emit_package(&mut self, enable: bool) -> &mut Self { in emit_package()
44 pub fn build_transport(&mut self, build_transport: bool) -> &mut Self { in build_transport()
51 pub fn compile_well_known_types(&mut self, enable: bool) -> &mut Self { in compile_well_known_types()
63 pub fn use_arc_self(&mut self, enable: bool) -> &mut Self { in use_arc_self()
69 pub fn generate_default_stubs(&mut self, generate_default_stubs: bool) -> &mut Self { in generate_default_stubs()
H A Dmanual.rs173 client_streaming: bool,
175 server_streaming: bool,
177 deprecated: bool,
204 fn client_streaming(&self) -> bool { in client_streaming() argument
216 fn deprecated(&self) -> bool { in deprecated() argument
268 client_streaming: bool,
270 server_streaming: bool,
272 deprecated: bool,
417 build_server: bool,
418 build_client: bool,
[all …]
H A Dprost.rs151 fn client_streaming(&self) -> bool { in client_streaming() argument
155 fn server_streaming(&self) -> bool { in server_streaming() argument
163 fn deprecated(&self) -> bool { in deprecated() argument
170 compile_well_known_types: bool, in request_response_name() argument
201 fn is_google_type(ty: &str) -> bool { in is_google_type() argument
289 pub(crate) build_client: bool,
290 pub(crate) build_server: bool,
291 pub(crate) build_transport: bool,
293 pub(crate) skip_protoc_run: bool,
305 pub(crate) emit_package: bool,
[all …]
H A Dserver.rs15 emit_package: bool, in generate_internal() argument
20 use_arc_self: bool, in generate_internal() argument
199 emit_package: bool, in generate_trait() argument
204 use_arc_self: bool, in generate_trait() argument
232 emit_package: bool, in generate_trait_methods() argument
236 use_arc_self: bool, in generate_trait_methods() argument
371 emit_package: bool, in generate_methods() argument
374 use_arc_self: bool, in generate_methods() argument
441 use_arc_self: bool, in generate_unary() argument
499 use_arc_self: bool, in generate_server_streaming() argument
[all …]
H A Dclient.rs13 emit_package: bool, in generate_internal() argument
15 compile_well_known_types: bool, in generate_internal() argument
16 build_transport: bool, in generate_internal() argument
169 emit_package: bool, in generate_methods() argument
171 compile_well_known_types: bool, in generate_methods() argument
224 emit_package: bool, in generate_unary() argument
226 compile_well_known_types: bool, in generate_unary() argument
255 emit_package: bool, in generate_server_streaming() argument
257 compile_well_known_types: bool, in generate_server_streaming() argument
286 emit_package: bool, in generate_client_streaming() argument
[all …]
H A Dlib.rs139 fn client_streaming(&self) -> bool; in client_streaming() argument
141 fn server_streaming(&self) -> bool; in server_streaming() argument
145 fn deprecated(&self) -> bool { in deprecated() argument
152 compile_well_known_types: bool, in request_response_name() argument
201 fn format_service_name<T: Service>(service: &T, emit_package: bool) -> String { in format_service_name()
211 fn format_method_path<T: Service>(service: &T, method: &T::Method, emit_package: bool) -> String { in format_method_path()
219 fn format_method_name<T: Service>(service: &T, method: &T::Method, emit_package: bool) -> String { in format_method_name()
293 pub(crate) fn match_name(pattern: &str, path: &str) -> bool { in match_name() argument
/tonic/tonic/src/transport/server/
H A Dtls.rs11 client_auth_optional: bool,
12 ignore_client_order: bool,
13 use_key_log: bool,
50 pub fn client_auth_optional(self, optional: bool) -> Self { in client_auth_optional()
61 pub fn ignore_client_order(self, ignore_client_order: bool) -> Self { in ignore_client_order()
H A Dincoming.rs20 nodelay: Option<bool>,
64 pub fn with_nodelay(self, nodelay: Option<bool>) -> Self { in with_nodelay()
102 nodelay: Option<bool>, in set_accepted_socket_options() argument
/tonic/tonic/src/metadata/
H A Dencoding.rs23 fn is_empty(value: &[u8]) -> bool; in is_empty() argument
38 fn equals(a: &HeaderValue, b: &[u8]) -> bool; in equals() argument
41 fn values_equal(a: &HeaderValue, b: &HeaderValue) -> bool; in values_equal() argument
52 fn is_valid_key(key: &str) -> bool; in is_valid_key() argument
81 fn is_empty(value: &[u8]) -> bool { in is_empty() argument
101 fn equals(a: &HeaderValue, b: &[u8]) -> bool { in equals() argument
105 fn values_equal(a: &HeaderValue, b: &HeaderValue) -> bool { in values_equal() argument
115 fn is_valid_key(key: &str) -> bool { in is_valid_key() argument
121 fn is_empty(value: &[u8]) -> bool { in is_empty() argument
158 fn equals(a: &HeaderValue, b: &[u8]) -> bool { in equals() argument
[all …]
H A Dkey.rs202 fn eq(&self, other: &&'a MetadataKey<VE>) -> bool { in eq() argument
209 fn eq(&self, other: &MetadataKey<VE>) -> bool { in eq() argument
229 fn eq(&self, other: &str) -> bool { in eq() argument
249 fn eq(&self, other: &MetadataKey<VE>) -> bool { in eq() argument
258 fn eq(&self, other: &&'a str) -> bool { in eq() argument
267 fn eq(&self, other: &MetadataKey<VE>) -> bool { in eq() argument
H A Dvalue.rs107 pub fn is_empty(&self) -> bool { in is_empty() argument
148 pub fn set_sensitive(&mut self, val: bool) { in set_sensitive() argument
174 pub fn is_sensitive(&self) -> bool { in is_sensitive() argument
631 fn eq(&self, other: &MetadataValue<VE>) -> bool { in eq() argument
658 fn eq(&self, other: &str) -> bool { in eq() argument
665 fn eq(&self, other: &[u8]) -> bool { in eq() argument
686 fn eq(&self, other: &MetadataValue<VE>) -> bool { in eq() argument
693 fn eq(&self, other: &MetadataValue<VE>) -> bool { in eq() argument
714 fn eq(&self, other: &String) -> bool { in eq() argument
728 fn eq(&self, other: &MetadataValue<VE>) -> bool { in eq() argument
[all …]
H A Dmap.rs365 pub fn is_empty(&self) -> bool { in is_empty() argument
695 pub fn contains_key<K>(&self, key: K) -> bool in contains_key()
1106 pub fn append<K>(&mut self, key: K, value: MetadataValue<Ascii>) -> bool in append()
1983 fn eq(&self, other: &Self) -> bool { in eq() argument
2039 fn append(self, map: &mut MetadataMap, val: MetadataValue<VE>) -> bool; in append() argument
2442 fn contains_key(&self, map: &MetadataMap) -> bool; in contains_key() argument
2450 fn contains_key(&self, map: &MetadataMap) -> bool { in contains_key() argument
2460 fn contains_key(&self, map: &MetadataMap) -> bool { in contains_key() argument
2470 fn contains_key(&self, map: &MetadataMap) -> bool { in contains_key() argument
2480 fn contains_key(&self, map: &MetadataMap) -> bool { in contains_key() argument
[all …]
/tonic/tonic/src/transport/channel/
H A Dtls.rs16 assume_http2: bool,
18 with_native_roots: bool,
20 with_webpki_roots: bool,
21 use_key_log: bool,
81 pub fn assume_http2(self, assume_http2: bool) -> Self { in assume_http2()
H A Dendpoint.rs32 pub(crate) tcp_nodelay: bool,
35 pub(crate) http2_keep_alive_while_idle: Option<bool>,
38 pub(crate) http2_adaptive_window: Option<bool>,
261 pub fn tcp_nodelay(self, enabled: bool) -> Self { in tcp_nodelay()
285 pub fn keep_alive_while_idle(self, enabled: bool) -> Self { in keep_alive_while_idle()
293 pub fn http2_adaptive_window(self, enabled: bool) -> Self { in http2_adaptive_window()
425 pub fn get_tcp_nodelay(&self) -> bool { in get_tcp_nodelay() argument
/tonic/tonic/src/transport/channel/service/
H A Dtls.rs25 assume_http2: bool,
35 assume_http2: bool, in new() argument
36 use_key_log: bool, in new() argument
37 #[cfg(feature = "tls-native-roots")] with_native_roots: bool, in new()
38 #[cfg(feature = "tls-webpki-roots")] with_webpki_roots: bool, in new()
H A Dreconnect.rs21 has_been_connected: bool,
22 is_lazy: bool,
37 pub(crate) fn new(mk_service: M, target: Target, is_lazy: bool) -> Self { in new()
/tonic/tonic/src/transport/server/service/
H A Dtls.rs24 client_auth_optional: bool, in new() argument
25 ignore_client_order: bool, in new() argument
26 use_key_log: bool, in new() argument
/tonic/tests/stream_conflict/proto/
H A Dstream_conflict.proto5 bool ok = 1;
/tonic/tonic-reflection/src/server/
H A Dmod.rs22 include_reflection_service: bool,
25 use_all_service_names: bool,
61 pub fn include_reflection_service(mut self, include: bool) -> Self { in include_reflection_service()
126 use_all_service_names: bool, in new() argument
163 use_all_service_names: bool, in process_file() argument
/tonic/codegen/src/
H A Dmain.rs73 build_client: bool, in codegen() argument
74 build_server: bool, in codegen() argument
/tonic/interop/proto/grpc/testing/
H A Dmessages.proto25 // The bool value.
26 bool value = 1;
66 bool fill_username = 4;
69 bool fill_oauth_scope = 5;
166 bool passed = 1;
/tonic/tonic-types/src/richer_error/error_details/
H A Dmod.rs540 pub fn has_quota_failure_violations(&self) -> bool { in has_quota_failure_violations() argument
662 pub fn has_precondition_failure_violations(&self) -> bool { in has_precondition_failure_violations() argument
734 pub fn has_bad_request_violations(&self) -> bool { in has_bad_request_violations() argument
855 pub fn has_help_links(&self) -> bool { in has_help_links() argument
/tonic/interop/src/bin/
H A Dserver.rs7 use_tls: bool,

123