Home
last modified time | relevance | path

Searched refs:Help (Results 1 – 13 of 13) sorted by relevance

/tonic/tonic-types/src/richer_error/std_messages/
H A Dhelp.rs52 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 Dmod.rs35 pub use help::{Help, HelpLink};
/tonic/tonic-types/src/richer_error/error_details/
H A Dvec.rs2 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 Dmod.rs4 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 Dmod.rs456 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 Dserver_vec.rs2 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 Dclient_vec.rs37 ErrorDetail::Help(help) => { in main()
/tonic/tonic-types/src/
H A Dlib.rs180 BadRequest, DebugInfo, ErrorDetail, ErrorDetails, ErrorInfo, FieldViolation, Help, HelpLink,
/tonic/tonic-types/src/generated/
H A Dgoogle_rpc.rs250 pub struct Help { struct
/tonic/tonic-types/proto/
H A Derror_details.proto63 // Also see RetryInfo and Help types for other details about handling a
226 message Help { message
/tonic/
H A DREADME.md53 ## Getting Help
H A DCONTRIBUTING.md57 ### Asking for General Help
H A DCHANGELOG.md168 * **types:** Add gRPC Richer Error Model support (Help) ([#1293](https://github.com/hyperium/tonic/…