Home
last modified time | relevance | path

Searched refs:RequestInfo (Results 1 – 8 of 8) sorted by relevance

/tonic/tonic-types/src/richer_error/std_messages/
H A Drequest_info.rs14 pub struct RequestInfo { struct
24 impl RequestInfo { argument
30 RequestInfo { in new()
43 impl IntoAny for RequestInfo { implementation
54 impl FromAny for RequestInfo { implementation
61 impl FromAnyRef for RequestInfo { implementation
70 impl From<pb::RequestInfo> for RequestInfo { implementation
72 RequestInfo { in from()
79 impl From<RequestInfo> for pb::RequestInfo { implementation
81 pb::RequestInfo { in from()
[all …]
H A Dmod.rs27 pub use request_info::RequestInfo;
/tonic/tonic-types/src/richer_error/error_details/
H A Dvec.rs3 RequestInfo, ResourceInfo, RetryInfo,
30 RequestInfo(RequestInfo), enumerator
78 impl From<RequestInfo> for ErrorDetail {
79 fn from(err_detail: RequestInfo) -> Self { in from()
80 ErrorDetail::RequestInfo(err_detail) in from()
H A Dmod.rs5 PreconditionFailure, PreconditionViolation, QuotaFailure, QuotaViolation, RequestInfo,
37 pub(crate) request_info: Option<RequestInfo>,
287 request_info: Some(RequestInfo::new(request_id, serving_data)), in with_request_info()
415 pub fn request_info(&self) -> Option<&RequestInfo> { in request_info() argument
758 self.request_info = Some(RequestInfo::new(request_id, serving_data)); in set_request_info()
/tonic/tonic-types/src/richer_error/
H A Dmod.rs412 fn get_details_request_info(&self) -> Option<RequestInfo>; in get_details_request_info() argument
573 ErrorDetail::RequestInfo(req_info) => { in with_error_details_vec_and_metadata()
662 fn get_details_request_info(&self) -> Option<RequestInfo> { in get_details_request_info() argument
744 fn get_details_request_info(&self) -> Option<RequestInfo>; in get_details_request_info() argument
783 RequestInfo::TYPE_URL => { in check_error_details()
829 RequestInfo::TYPE_URL => { in check_error_details_vec()
830 details.push(RequestInfo::from_any_ref(any)?.into()); in check_error_details_vec()
924 fn get_details_request_info(&self) -> Option<RequestInfo> { in get_details_request_info() argument
926 if any.type_url.as_str() == RequestInfo::TYPE_URL { in get_details_request_info()
927 if let Ok(detail) = RequestInfo::from_any_ref(any) { in get_details_request_info()
[all …]
/tonic/tonic-types/src/
H A Dlib.rs182 RequestInfo, ResourceInfo, RetryInfo, RpcStatusExt, StatusExt,
/tonic/tonic-types/src/generated/
H A Dgoogle_rpc.rs210 pub struct RequestInfo { struct
/tonic/tonic-types/proto/
H A Derror_details.proto188 message RequestInfo { message