Home
last modified time | relevance | path

Searched refs:debug_info (Results 1 – 4 of 4) sorted by relevance

/tonic/tonic-types/src/richer_error/std_messages/
H A Ddebug_info.rs61 let debug_info = pb::DebugInfo::decode(buf)?; in from_any_ref() localVariable
63 Ok(debug_info.into()) in from_any_ref()
68 fn from(debug_info: pb::DebugInfo) -> Self { in from()
70 stack_entries: debug_info.stack_entries, in from()
71 detail: debug_info.detail, in from()
77 fn from(debug_info: DebugInfo) -> Self { in from()
79 stack_entries: debug_info.stack_entries, in from()
80 detail: debug_info.detail, in from()
92 let debug_info = DebugInfo::new( in gen_debug_info() localVariable
97 let formatted = format!("{:?}", debug_info); in gen_debug_info()
[all …]
H A Dmod.rs5 mod debug_info; module
7 pub use debug_info::DebugInfo;
/tonic/tonic-types/src/richer_error/error_details/
H A Dmod.rs22 pub(crate) debug_info: Option<DebugInfo>, field
98 debug_info: Some(DebugInfo::new(stack_entries, detail)), in with_debug_info()
390 pub fn debug_info(&self) -> Option<&DebugInfo> { in debug_info() method
391 self.debug_info.as_ref() in debug_info()
471 self.debug_info = Some(DebugInfo::new(stack_entries, detail)); in set_debug_info()
/tonic/tonic-types/src/richer_error/
H A Dmod.rs498 if let Some(debug_info) = details.debug_info { in with_error_details_and_metadata()
499 conv_details.push(debug_info.into_any()); in with_error_details_and_metadata()
558 ErrorDetail::DebugInfo(debug_info) => { in with_error_details_vec_and_metadata()
559 conv_details.push(debug_info.into_any()); in with_error_details_vec_and_metadata()
769 details.debug_info = Some(DebugInfo::from_any_ref(any)?); in check_error_details()