Searched refs:help (Results 1 – 11 of 11) sorted by relevance
| /tonic/tonic-types/src/richer_error/std_messages/ |
| H A D | help.rs | 28 impl From<pb::help::Link> for HelpLink { 29 fn from(value: pb::help::Link) -> Self { in from() 37 impl From<HelpLink> for pb::help::Link { 39 pb::help::Link { in from() 119 let help = pb::Help::decode(buf)?; in from_any_ref() localVariable 121 Ok(help.into()) in from_any_ref() 148 let mut help = Help::new(Vec::new()); in gen_help() localVariable 149 let formatted = format!("{:?}", help); in gen_help() 159 help.is_empty(), in gen_help() 176 !help.is_empty(), in gen_help() [all …]
|
| H A D | mod.rs | 33 mod help; module 35 pub use help::{Help, HelpLink};
|
| /tonic/tonic-types/src/richer_error/error_details/ |
| H A D | mod.rs | 43 pub(crate) help: Option<Help>, field 339 help: Some(Help::new(links)), in with_help() 359 help: Some(Help::with_link(description, url)), in with_help_link() 425 pub fn help(&self) -> Option<&Help> { in help() method 426 self.help.as_ref() in help() 806 self.help = Some(Help::new(links)); in set_help() 828 match &mut self.help { in add_help_link() 829 Some(help) => { in add_help_link() 830 help.add_link(description, url); in add_help_link() 856 if let Some(help) = &self.help { in has_help_links() [all …]
|
| /tonic/examples/src/richer-error/ |
| H A D | client.rs | 34 if let Some(help) = err_details.help() { in main() 36 println!(" {:?}", help); in main()
|
| H A D | client_vec.rs | 37 ErrorDetail::Help(help) => { in main() 39 println!(" {:?}", help); in main()
|
| H A D | server_vec.rs | 37 let help = Help::with_link("description of link", "https://resource.example.local"); in say_hello() localVariable 45 vec![bad_request.into(), help.into(), localized_message.into()], in say_hello()
|
| /tonic/tonic-types/src/richer_error/ |
| H A D | mod.rs | 526 if let Some(help) = details.help { in with_error_details_and_metadata() 527 conv_details.push(help.into_any()); in with_error_details_and_metadata() 579 ErrorDetail::Help(help) => { in with_error_details_vec_and_metadata() 580 conv_details.push(help.into_any()); in with_error_details_vec_and_metadata() 790 details.help = Some(Help::from_any_ref(any)?); in check_error_details()
|
| /tonic/tonic-types/src/generated/ |
| H A D | google_rpc.rs | 253 pub links: ::prost::alloc::vec::Vec<help::Link>, 256 pub mod help { module
|
| /tonic/tonic-types/ |
| H A D | README.md | 90 if let Some(help) = err_details.help() { 91 // Handle help details
|
| /tonic/ |
| H A D | CONTRIBUTING.md | 3 :balloon: Thanks for your help improving the project! We are so happy to have 8 expert, we can use your help. 12 This guide will help you get started. **Do not let this guide intimidate you**. 13 It should be considered a map to help you navigate the process. 15 You may also get help with contributing in the `dev` channel, please join 60 having problems, you can open an issue asking for help. 62 In exchange for receiving help, we ask that you contribute back a documentation 83 [mcve]: https://stackoverflow.com/help/mcve 97 Contributors are encouraged to help one another make forward progress as much as 392 [hiding-a-comment]: https://help.github.com/articles/managing-disruptive-comments/#hiding-a-comment
|
| H A D | README.md | 75 :balloon: Thanks for your help improving the project! We are so happy to have 76 you! We have a [contributing guide][guide] to help you get involved in the Tonic
|