Home
last modified time | relevance | path

Searched refs:is_empty (Results 1 – 25 of 32) sorted by relevance

12

/tonic/tonic-types/src/richer_error/std_messages/
H A Dresource_info.rs48 pub fn is_empty(&self) -> bool { in is_empty() method
49 self.resource_type.is_empty() in is_empty()
50 && self.resource_name.is_empty() in is_empty()
51 && self.owner.is_empty() in is_empty()
52 && self.description.is_empty() in is_empty()
H A Derror_info.rs51 pub fn is_empty(&self) -> bool { in is_empty() method
52 self.reason.is_empty() && self.domain.is_empty() && self.metadata.is_empty() in is_empty()
H A Drequest_info.rs38 pub fn is_empty(&self) -> bool { in is_empty() method
39 self.request_id.is_empty() && self.serving_data.is_empty() in is_empty()
H A Dloc_message.rs39 pub fn is_empty(&self) -> bool { in is_empty() method
40 self.locale.is_empty() && self.message.is_empty() in is_empty()
H A Ddebug_info.rs35 pub fn is_empty(&self) -> bool { in is_empty() method
36 self.stack_entries.is_empty() && self.detail.is_empty() in is_empty()
H A Dhelp.rs93 pub fn is_empty(&self) -> bool { in is_empty() method
94 self.links.is_empty() in is_empty()
159 help.is_empty(), in gen_help()
176 !help.is_empty(), in gen_help()
H A Dbad_request.rs97 pub fn is_empty(&self) -> bool { in is_empty() method
98 self.field_violations.is_empty() in is_empty()
163 br_details.is_empty(), in gen_bad_request()
181 !br_details.is_empty(), in gen_bad_request()
H A Dquota_failure.rs94 pub fn is_empty(&self) -> bool { in is_empty() method
95 self.violations.is_empty() in is_empty()
160 quota_failure.is_empty(), in gen_quota_failure()
178 !quota_failure.is_empty(), in gen_quota_failure()
H A Dprec_failure.rs117 pub fn is_empty(&self) -> bool { in is_empty() method
118 self.violations.is_empty() in is_empty()
183 prec_failure.is_empty(), in gen_prec_failure()
201 !prec_failure.is_empty(), in gen_prec_failure()
H A Dretry_info.rs50 pub fn is_empty(&self) -> bool { in is_empty() method
139 !retry_info.is_empty(), in gen_retry_info()
/tonic/examples/src/richer-error/
H A Dserver_vec.rs29 if name.is_empty() { in say_hello()
35 if !bad_request.is_empty() { in say_hello()
H A Dserver.rs29 if name.is_empty() { in say_hello()
/tonic/tonic/src/metadata/
H A Dvalue.rs107 pub fn is_empty(&self) -> bool { in is_empty() method
108 VE::is_empty(self.inner.as_bytes()) in is_empty()
813 assert!(from_str::<Ascii>("").is_empty()); in test_is_empty()
814 assert!(from_str::<Binary>("").is_empty()); in test_is_empty()
815 assert!(!from_str::<Ascii>("a").is_empty()); in test_is_empty()
816 assert!(!from_str::<Binary>("a").is_empty()); in test_is_empty()
817 assert!(!from_str::<Ascii>("=").is_empty()); in test_is_empty()
818 assert!(from_str::<Binary>("=").is_empty()); in test_is_empty()
819 assert!(!from_str::<Ascii>("===").is_empty()); in test_is_empty()
820 assert!(from_str::<Binary>("===").is_empty()); in test_is_empty()
[all …]
H A Dencoding.rs23 fn is_empty(value: &[u8]) -> bool; in is_empty() method
81 fn is_empty(value: &[u8]) -> bool { in is_empty() method
82 value.is_empty() in is_empty()
121 fn is_empty(value: &[u8]) -> bool { in is_empty() method
/tonic/tonic-types/src/richer_error/error_details/
H A Dmod.rs542 return !quota_failure.violations.is_empty(); in has_quota_failure_violations()
664 return !precondition_failure.violations.is_empty(); in has_precondition_failure_violations()
736 return !bad_request.field_violations.is_empty(); in has_bad_request_violations()
857 return !help.links.is_empty(); in has_help_links()
/tonic/tonic/src/transport/channel/service/
H A Dtls.rs65 if !errors.is_empty() { in new()
68 if certs.is_empty() { in new()
/tonic/tonic/src/codec/
H A Dencode.rs95 Poll::Pending if buf.is_empty() => { in poll_next()
98 Poll::Ready(None) if buf.is_empty() => { in poll_next()
122 if buf.is_empty() { in poll_next()
H A Dcompression.rs55 if value.is_empty() { in into_accept_encoding_header_value()
69 pub fn is_empty(&self) -> bool { in is_empty() method
112 if enabled_encodings.is_empty() { in from_accept_encoding_header()
/tonic/tonic/src/
H A Dresponse.rs153 assert!(http_response.headers().is_empty()); in reserved_headers_are_excluded()
H A Dstatus.rs522 if !self.message.is_empty() { in add_header()
533 if !self.details.is_empty() { in add_header()
645 if !self.message.is_empty() { in fmt()
649 if !self.details.is_empty() { in fmt()
653 if !self.metadata.is_empty() { in fmt()
/tonic/tonic-build/src/
H A Dlib.rs206 if package.is_empty() { "" } else { "." }, in format_service_name()
294 if pattern.is_empty() { in match_name()
H A Dmanual.rs384 if self.builder.build_client && !self.clients.is_empty() { in finalize()
398 if self.builder.build_server && !self.servers.is_empty() { in finalize()
H A Dprost.rs256 if self.builder.build_client && !self.clients.is_empty() { in finalize()
270 if self.builder.build_server && !self.servers.is_empty() { in finalize()
692 if !self.skip_debug.is_empty() { in setup_config()
/tonic/interop/src/bin/
H A Dclient.rs98 if !failures.is_empty() { in main()
/tonic/tonic/benches/
H A Ddecode.rs76 !self.data.is_empty() in is_end_stream()

12