Home
last modified time | relevance | path

Searched refs:RetryInfo (Results 1 – 9 of 9) sorted by relevance

/tonic/tonic-types/src/richer_error/std_messages/
H A Dretry_info.rs18 pub struct RetryInfo { struct
23 impl RetryInfo { impl
45 RetryInfo { retry_delay } in new()
55 impl IntoAny for RetryInfo { implementation
66 impl FromAny for RetryInfo { implementation
73 impl FromAnyRef for RetryInfo { implementation
82 impl From<pb::RetryInfo> for RetryInfo { implementation
93 RetryInfo { retry_delay } in from()
97 impl From<RetryInfo> for pb::RetryInfo { implementation
114 pb::RetryInfo { retry_delay } in from()
[all …]
H A Dmod.rs3 pub use retry_info::RetryInfo;
/tonic/tonic-types/src/richer_error/error_details/
H A Dvec.rs3 RequestInfo, ResourceInfo, RetryInfo,
12 RetryInfo(RetryInfo), enumerator
42 impl From<RetryInfo> for ErrorDetail {
43 fn from(err_detail: RetryInfo) -> Self { in from()
44 ErrorDetail::RetryInfo(err_detail) in from()
H A Dmod.rs6 ResourceInfo, RetryInfo,
19 pub(crate) retry_info: Option<RetryInfo>,
76 retry_info: Some(RetryInfo::new(retry_delay)), in with_retry_info()
385 pub fn retry_info(&self) -> Option<&RetryInfo> { in retry_info() argument
448 self.retry_info = Some(RetryInfo::new(retry_delay)); in set_retry_info()
/tonic/tonic-types/src/richer_error/
H A Dmod.rs17 ResourceInfo, RetryInfo,
280 fn get_details_retry_info(&self) -> Option<RetryInfo>; in get_details_retry_info() argument
555 ErrorDetail::RetryInfo(retry_info) => { in with_error_details_vec_and_metadata()
626 fn get_details_retry_info(&self) -> Option<RetryInfo> { in get_details_retry_info() argument
720 fn get_details_retry_info(&self) -> Option<RetryInfo>; in get_details_retry_info() argument
765 RetryInfo::TYPE_URL => { in check_error_details()
811 RetryInfo::TYPE_URL => { in check_error_details_vec()
852 fn get_details_retry_info(&self) -> Option<RetryInfo> { in get_details_retry_info() argument
854 if any.type_url.as_str() == RetryInfo::TYPE_URL { in get_details_retry_info()
855 if let Ok(detail) = RetryInfo::from_any_ref(any) { in get_details_retry_info()
[all …]
/tonic/tonic-types/src/
H A Dlib.rs182 RequestInfo, ResourceInfo, RetryInfo, RpcStatusExt, StatusExt,
/tonic/tonic-types/src/generated/
H A Dgoogle_rpc.rs38 pub struct RetryInfo { struct
/tonic/tonic-types/proto/
H A Derror_details.proto40 message RetryInfo { message
63 // Also see RetryInfo and Help types for other details about handling a
/tonic/
H A DCHANGELOG.md173 * **types:** Add gRPC Richer Error Model support (RetryInfo) ([#1095](https://github.com/hyperium/t…