| /tonic/tonic-types/src/richer_error/error_details/ |
| H A D | mod.rs | 95 detail: impl Into<String>, in with_debug_info() 134 subject: impl Into<String>, in with_quota_failure_violation() 158 reason: impl Into<String>, in with_error_info() 159 domain: impl Into<String>, in with_error_info() 160 metadata: impl Into<HashMap<String, String>>, in with_error_info() argument 213 subject: impl Into<String>, in with_precondition_failure_violation() 260 field: impl Into<String>, in with_bad_request_violation() 310 owner: impl Into<String>, in with_resource_info() 567 metadata: impl Into<HashMap<String, String>>, in set_error_info() argument 704 field: impl Into<String>, in add_bad_request_violation() [all …]
|
| /tonic/tonic-types/src/richer_error/std_messages/ |
| H A D | prec_failure.rs | 29 r#type: impl Into<String>, in new() 30 subject: impl Into<String>, in new() 31 description: impl Into<String>, in new() 86 violation_type: impl Into<String>, in with_violation() 87 subject: impl Into<String>, in with_violation() 88 description: impl Into<String>, in with_violation() 103 r#type: impl Into<String>, in add_violation() 104 subject: impl Into<String>, in add_violation() 105 description: impl Into<String>, in add_violation()
|
| H A D | resource_info.rs | 33 resource_type: impl Into<String>, in new() 34 resource_name: impl Into<String>, in new() 35 owner: impl Into<String>, in new() 36 description: impl Into<String>, in new()
|
| H A D | error_info.rs | 38 reason: impl Into<String>, in new() 39 domain: impl Into<String>, in new() 40 metadata: impl Into<HashMap<String, String>>, in new() argument
|
| H A D | help.rs | 20 pub fn new(description: impl Into<String>, url: impl Into<String>) -> Self { in new() 69 pub fn with_link(description: impl Into<String>, url: impl Into<String>) -> Self { in with_link() 81 description: impl Into<String>, in add_link() 82 url: impl Into<String>, in add_link()
|
| H A D | bad_request.rs | 23 pub fn new(field: impl Into<String>, description: impl Into<String>) -> Self { in new() 73 pub fn with_violation(field: impl Into<String>, description: impl Into<String>) -> Self { in with_violation() 85 field: impl Into<String>, in add_violation() 86 description: impl Into<String>, in add_violation()
|
| H A D | quota_failure.rs | 21 pub fn new(subject: impl Into<String>, description: impl Into<String>) -> Self { in new() 70 pub fn with_violation(subject: impl Into<String>, description: impl Into<String>) -> Self { in with_violation() 82 subject: impl Into<String>, in add_violation() 83 description: impl Into<String>, in add_violation()
|
| H A D | request_info.rs | 29 pub fn new(request_id: impl Into<String>, serving_data: impl Into<String>) -> Self { in new()
|
| H A D | debug_info.rs | 26 pub fn new(stack_entries: impl Into<Vec<String>>, detail: impl Into<String>) -> Self { in new()
|
| H A D | loc_message.rs | 30 pub fn new(locale: impl Into<String>, message: impl Into<String>) -> Self { in new()
|
| /tonic/tests/extern_path/uuid/src/ |
| H A D | lib.rs | 4 fn do_it(&self) -> String; in do_it() 8 fn do_it(&self) -> String { in do_it()
|
| /tonic/tonic-build/src/ |
| H A D | lib.rs | 183 pub fn push_mod(&mut self, pattern: impl Into<String>, attr: impl Into<String>) { in push_mod() 196 pub fn push_struct(&mut self, pattern: impl Into<String>, attr: impl Into<String>) { in push_struct() 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() 230 attrs: impl IntoIterator<Item = &'a (String, String)>, in generate_attributes() argument 318 fn naive_snake_case(name: &str) -> String { in naive_snake_case()
|
| H A D | client.rs | 18 disable_comments: &HashSet<String>, in generate_internal() 172 disable_comments: &HashSet<String>, in generate_methods()
|
| H A D | server.rs | 19 disable_comments: &HashSet<String>, in generate_internal() 203 disable_comments: &HashSet<String>, in generate_trait() 235 disable_comments: &HashSet<String>, in generate_trait_methods()
|
| /tonic/tests/web/tests/ |
| H A D | grpc.rs | 103 async fn grpc(accept_h1: bool) -> (impl Future<Output = Result<(), Error>>, String) { in grpc() argument 114 async fn grpc_web(accept_h1: bool) -> (impl Future<Output = Result<(), Error>>, String) { in grpc_web() argument 151 fn meta<T>(r: &Response<T>) -> String { in meta() 163 fn status(s: &tonic::Status) -> (String, tonic::Code) { in status()
|
| H A D | grpc_web.rs | 111 fn build_request(base_uri: String, content_type: &str, accept: &str) -> Request<Body> { in build_request()
|
| /tonic/tonic/benches-disabled/benchmarks/ |
| H A D | request_response.rs | 6 fn build_request(_name: String) { in build_request() 10 fn build_response(_message: String) { in build_response()
|
| H A D | utils.rs | 4 pub fn generate_rnd_string(string_size: usize) -> Result<String, Box<dyn std::error::Error>> { in generate_rnd_string()
|
| H A D | request_response_diverse_types.rs | 6 fn build_request(_name: String) { in build_request()
|
| /tonic/examples/src/dynamic/ |
| H A D | server.rs | 34 fn init_echo(args: &[String], builder: &mut RoutesBuilder) { in init_echo() 61 fn init_greeter(args: &[String], builder: &mut RoutesBuilder) { in init_greeter()
|
| /tonic/tonic-types/src/richer_error/ |
| H A D | mod.rs | 74 message: impl Into<String>, in with_error_details_and_metadata() 96 message: impl Into<String>, in with_error_details() 120 message: impl Into<String>, in with_error_details_vec_and_metadata() 144 message: impl Into<String>, in with_error_details_vec() 486 message: impl Into<String>, in with_error_details_and_metadata() 539 fn with_error_details(code: Code, message: impl Into<String>, details: ErrorDetails) -> Self { in with_error_details() 545 message: impl Into<String>, in with_error_details_vec_and_metadata() 595 message: impl Into<String>, in with_error_details_vec()
|
| /tonic/tonic-reflection/src/server/ |
| H A D | mod.rs | 123 service_names: Vec<String>, in new() 248 fn list_services(&self) -> &[String] { in list_services() 284 maybe_name: Option<&String>, in extract_name() 285 ) -> Result<String, Error> { in extract_name()
|
| /tonic/tonic/src/ |
| H A D | request.rs | 397 fn duration_to_grpc_timeout(duration: Duration) -> String { in duration_to_grpc_timeout() 402 ) -> Option<String> { in duration_to_grpc_timeout()
|
| H A D | status.rs | 546 pub fn with_details(code: Code, message: impl Into<String>, details: Bytes) -> Status { in with_details() 551 pub fn with_metadata(code: Code, message: impl Into<String>, metadata: MetadataMap) -> Status { in with_metadata() 558 message: impl Into<String>, in with_details_and_metadata()
|
| /tonic/tonic/src/metadata/ |
| H A D | map.rs | 2300 impl<VE: ValueEncoding> Sealed<VE> for String { implementation 2359 impl<VE: ValueEncoding> AsMetadataKey<VE> for String {} implementation 2361 impl<VE: ValueEncoding> Sealed<VE> for &String { implementation 2420 impl<VE: ValueEncoding> AsMetadataKey<VE> for &String {} implementation 2477 impl Sealed for String { implementation 2485 impl AsEncodingAgnosticMetadataKey for String {} implementation 2487 impl Sealed for &String { implementation 2495 impl AsEncodingAgnosticMetadataKey for &String {} implementation
|