Home
last modified time | relevance | path

Searched refs:from_any_ref (Results 1 – 11 of 11) sorted by relevance

/tonic/tonic-types/src/richer_error/
H A Dmod.rs32 fn from_any_ref(any: &Any) -> Result<Self, DecodeError> in from_any_ref() method
790 details.help = Some(Help::from_any_ref(any)?); in check_error_details()
836 details.push(Help::from_any_ref(any)?.into()); in check_error_details_vec()
855 if let Ok(detail) = RetryInfo::from_any_ref(any) { in get_details_retry_info()
867 if let Ok(detail) = DebugInfo::from_any_ref(any) { in get_details_debug_info()
879 if let Ok(detail) = QuotaFailure::from_any_ref(any) { in get_details_quota_failure()
891 if let Ok(detail) = ErrorInfo::from_any_ref(any) { in get_details_error_info()
915 if let Ok(detail) = BadRequest::from_any_ref(any) { in get_details_bad_request()
927 if let Ok(detail) = RequestInfo::from_any_ref(any) { in get_details_request_info()
939 if let Ok(detail) = ResourceInfo::from_any_ref(any) { in get_details_resource_info()
[all …]
/tonic/tonic-types/src/richer_error/std_messages/
H A Drequest_info.rs57 FromAnyRef::from_any_ref(&any) in from_any()
62 fn from_any_ref(any: &Any) -> Result<Self, DecodeError> { in from_any_ref() method
H A Dloc_message.rs58 FromAnyRef::from_any_ref(&any) in from_any()
63 fn from_any_ref(any: &Any) -> Result<Self, DecodeError> { in from_any_ref() method
H A Ddebug_info.rs54 FromAnyRef::from_any_ref(&any) in from_any()
59 fn from_any_ref(any: &Any) -> Result<Self, DecodeError> { in from_any_ref() method
H A Dresource_info.rs70 FromAnyRef::from_any_ref(&any) in from_any()
75 fn from_any_ref(any: &Any) -> Result<Self, DecodeError> { in from_any_ref() method
H A Derror_info.rs70 FromAnyRef::from_any_ref(&any) in from_any()
75 fn from_any_ref(any: &Any) -> Result<Self, DecodeError> { in from_any_ref() method
H A Dretry_info.rs69 FromAnyRef::from_any_ref(&any) in from_any()
74 fn from_any_ref(any: &Any) -> Result<Self, DecodeError> { in from_any_ref() method
H A Dhelp.rs112 FromAnyRef::from_any_ref(&any) in from_any()
117 fn from_any_ref(any: &Any) -> Result<Self, DecodeError> { in from_any_ref() method
H A Dbad_request.rs116 FromAnyRef::from_any_ref(&any) in from_any()
121 fn from_any_ref(any: &Any) -> Result<Self, DecodeError> { in from_any_ref() method
H A Dquota_failure.rs113 FromAnyRef::from_any_ref(&any) in from_any()
118 fn from_any_ref(any: &Any) -> Result<Self, DecodeError> { in from_any_ref() method
H A Dprec_failure.rs136 FromAnyRef::from_any_ref(&any) in from_any()
141 fn from_any_ref(any: &Any) -> Result<Self, DecodeError> { in from_any_ref() method