Home
last modified time | relevance | path

Searched defs:str (Results 1 – 25 of 38) sorted by relevance

12

/tonic/tonic/src/
H A Dextensions.rs11 pub fn new(service: &'a str, method: &'a str) -> Self { in new()
16 pub fn service(&self) -> &str { in service()
20 pub fn method(&self) -> &str { in method()
/tonic/tonic-build/src/
H A Dlib.rs111 fn name(&self) -> &str; in name()
113 fn package(&self) -> &str; in package()
115 fn identifier(&self) -> &str; in identifier()
133 fn name(&self) -> &str; in name()
135 fn identifier(&self) -> &str; in identifier()
137 fn codec_path(&self) -> &str; in codec_path()
151 proto_path: &str, in request_response_name()
229 name: &str, in generate_attributes()
293 pub(crate) fn match_name(pattern: &str, path: &str) -> bool { in match_name()
H A Dprost.rs106 fn name(&self) -> &str { in name()
110 fn package(&self) -> &str { in package()
114 fn identifier(&self) -> &str { in identifier()
130 fn name(&self) -> &str { in name()
134 fn identifier(&self) -> &str { in identifier()
147 fn codec_path(&self) -> &str { in codec_path()
169 proto_path: &str, in request_response_name()
398 pub fn message_attribute<P: AsRef<str>, A: AsRef<str>>( in message_attribute()
434 S: AsRef<str>, in btree_map()
454 S: AsRef<str>, in bytes()
[all …]
H A Dclient.rs14 proto_path: &str, in generate_internal()
170 proto_path: &str, in generate_methods()
225 proto_path: &str, in generate_unary()
256 proto_path: &str, in generate_server_streaming()
287 proto_path: &str, in generate_client_streaming()
318 proto_path: &str, in generate_streaming()
H A Dserver.rs16 proto_path: &str, in generate_internal()
200 proto_path: &str, in generate_trait()
233 proto_path: &str, in generate_trait_methods()
372 proto_path: &str, in generate_methods()
437 proto_path: &str, in generate_unary()
495 proto_path: &str, in generate_server_streaming()
562 proto_path: &str, in generate_client_streaming()
620 proto_path: &str, in generate_streaming()
H A Dmanual.rs138 fn name(&self) -> &str { in name()
142 fn package(&self) -> &str { in package()
146 fn identifier(&self) -> &str { in identifier()
192 fn name(&self) -> &str { in name()
196 fn identifier(&self) -> &str { in identifier()
200 fn codec_path(&self) -> &str { in codec_path()
222 _proto_path: &str, in request_response_name()
/tonic/tonic/src/server/
H A Dmod.rs25 const NAME: &'static str; variable
/tonic/codegen/src/
H A Dmain.rs69 iface_files: &[&str], in codegen()
70 include_dirs: &[&str], in codegen()
/tonic/tonic/src/service/
H A Dlayered.rs19 const NAME: &'static str = T::NAME; variable
74 const NAME: &'static str = TEST_SERVICE_NAME; variable
78 fn get_name_of_named_service<S: NamedService>(_s: &S) -> &'static str { in get_name_of_named_service()
/tonic/tonic/src/metadata/
H A Dkey.rs118 pub fn as_str(&self) -> &str { in as_str()
151 fn as_ref(&self) -> &str { in as_ref()
163 fn borrow(&self) -> &str { in borrow()
234 impl<VE: ValueEncoding> PartialEq<MetadataKey<VE>> for str { implementation
263 impl<VE: ValueEncoding> PartialEq<MetadataKey<VE>> for &str { implementation
H A Dvalue.rs432 pub fn to_str(&self) -> Result<&str, ToStrError> { in to_str()
684 impl<VE: ValueEncoding> PartialEq<MetadataValue<VE>> for str { implementation
698 impl<VE: ValueEncoding> PartialOrd<MetadataValue<VE>> for str { implementation
774 impl<VE: ValueEncoding> PartialEq<MetadataValue<VE>> for &str { implementation
781 impl<VE: ValueEncoding> PartialOrd<MetadataValue<VE>> for &str { implementation
/tonic/tonic-reflection/src/server/
H A Dmod.rs194 prefix: &str, in process_message()
223 prefix: &str, in process_enum()
240 prefix: &str, in process_field()
282 prefix: &str, in extract_name()
283 name_type: &str, in extract_name()
/tonic/tests/web/tests/
H A Dgrpc_web.rs111 fn build_request(base_uri: String, content_type: &str, accept: &str) -> Request<Body> { in build_request()
/tonic/tonic/src/transport/
H A Derror.rs50 fn description(&self) -> &str { in description()
/tonic/tonic/src/transport/channel/service/
H A Dtls.rs34 domain: &str, in new()
/tonic/tonic-health/src/
H A Dserver.rs73 pub async fn set_service_status<S>(&mut self, service_name: S, status: ServingStatus) in set_service_status()
94 pub async fn clear_service_status(&mut self, service_name: &str) { in clear_service_status()
/tonic/tonic-types/src/richer_error/std_messages/
H A Drequest_info.rs26 pub const TYPE_URL: &'static str = "type.googleapis.com/google.rpc.RequestInfo"; variable
H A Ddebug_info.rs23 pub const TYPE_URL: &'static str = "type.googleapis.com/google.rpc.DebugInfo"; variable
H A Dloc_message.rs27 pub const TYPE_URL: &'static str = "type.googleapis.com/google.rpc.LocalizedMessage"; variable
H A Dretry_info.rs25 pub const TYPE_URL: &'static str = "type.googleapis.com/google.rpc.RetryInfo"; variable
H A Dresource_info.rs29 pub const TYPE_URL: &'static str = "type.googleapis.com/google.rpc.ResourceInfo"; variable
H A Derror_info.rs34 pub const TYPE_URL: &'static str = "type.googleapis.com/google.rpc.ErrorInfo"; variable
H A Dhelp.rs59 pub const TYPE_URL: &'static str = "type.googleapis.com/google.rpc.Help"; variable
/tonic/tests/integration_tests/tests/
H A Dextensions.rs156 const NAME: &'static str = S::NAME; variable
/tonic/tonic-web/src/
H A Dservice.rs180 const NAME: &'static str = S::NAME; variable
273 const NAME: &'static str = "test"; variable

12