| /tonic/tonic-types/src/richer_error/std_messages/ |
| H A D | help.rs | 52 pub struct Help { struct 57 impl Help { implementation 63 Help { in new() 70 Help { in with_link() 98 impl IntoAny for Help { implementation 109 impl FromAny for Help { implementation 125 impl From<pb::Help> for Help { implementation 127 Help { in from() 133 impl From<Help> for pb::Help { implementation 135 pb::Help { in from() [all …]
|
| H A D | mod.rs | 35 pub use help::{Help, HelpLink};
|
| /tonic/tonic-types/src/richer_error/error_details/ |
| H A D | vec.rs | 2 BadRequest, DebugInfo, ErrorInfo, Help, LocalizedMessage, PreconditionFailure, QuotaFailure, 36 Help(Help), enumerator 90 impl From<Help> for ErrorDetail { 91 fn from(err_detail: Help) -> Self { in from() 92 ErrorDetail::Help(err_detail) in from()
|
| H A D | mod.rs | 4 BadRequest, DebugInfo, ErrorInfo, FieldViolation, Help, HelpLink, LocalizedMessage, 43 pub(crate) help: Option<Help>, 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() argument 806 self.help = Some(Help::new(links)); in set_help() 833 self.help = Some(Help::with_link(description, url)); in add_help_link()
|
| /tonic/tonic-types/src/richer_error/ |
| H A D | mod.rs | 456 fn get_details_help(&self) -> Option<Help>; in get_details_help() argument 579 ErrorDetail::Help(help) => { in with_error_details_vec_and_metadata() 674 fn get_details_help(&self) -> Option<Help> { in get_details_help() argument 752 fn get_details_help(&self) -> Option<Help>; in get_details_help() argument 789 Help::TYPE_URL => { in check_error_details() 790 details.help = Some(Help::from_any_ref(any)?); in check_error_details() 835 Help::TYPE_URL => { in check_error_details_vec() 836 details.push(Help::from_any_ref(any)?.into()); in check_error_details_vec() 948 fn get_details_help(&self) -> Option<Help> { in get_details_help() argument 950 if any.type_url.as_str() == Help::TYPE_URL { in get_details_help() [all …]
|
| /tonic/examples/src/richer-error/ |
| H A D | server_vec.rs | 2 use tonic_types::{BadRequest, Help, LocalizedMessage, StatusExt}; 37 let help = Help::with_link("description of link", "https://resource.example.local"); in say_hello()
|
| H A D | client_vec.rs | 37 ErrorDetail::Help(help) => { in main()
|
| /tonic/tonic-types/src/ |
| H A D | lib.rs | 180 BadRequest, DebugInfo, ErrorDetail, ErrorDetails, ErrorInfo, FieldViolation, Help, HelpLink,
|
| /tonic/tonic-types/src/generated/ |
| H A D | google_rpc.rs | 250 pub struct Help { struct
|
| /tonic/tonic-types/proto/ |
| H A D | error_details.proto | 63 // Also see RetryInfo and Help types for other details about handling a 226 message Help { message
|
| /tonic/ |
| H A D | README.md | 53 ## Getting Help
|
| H A D | CONTRIBUTING.md | 57 ### Asking for General Help
|
| H A D | CHANGELOG.md | 168 * **types:** Add gRPC Richer Error Model support (Help) ([#1293](https://github.com/hyperium/tonic/…
|