pub struct CrashInfo {Show 17 fields
pub counters: HashMap<String, i64>,
pub data_schema_version: String,
pub error: ErrorData,
pub experimental: Option<Experimental>,
pub files: HashMap<String, Vec<String>>,
pub fingerprint: Option<String>,
pub incomplete: bool,
pub log_messages: Vec<String>,
pub metadata: Metadata,
pub os_info: OsInfo,
pub proc_info: Option<ProcInfo>,
pub sig_info: Option<SigInfo>,
pub span_ids: Vec<Span>,
pub timestamp: String,
pub trace_ids: Vec<Span>,
pub ucontext: Option<Ucontext>,
pub uuid: String,
}Fields§
§counters: HashMap<String, i64>§data_schema_version: String§error: ErrorData§experimental: Option<Experimental>§files: HashMap<String, Vec<String>>§fingerprint: Option<String>§incomplete: bool§log_messages: Vec<String>§metadata: Metadata§os_info: OsInfo§proc_info: Option<ProcInfo>§sig_info: Option<SigInfo>§span_ids: Vec<Span>§timestamp: String§trace_ids: Vec<Span>§ucontext: Option<Ucontext>§uuid: StringImplementations§
Source§impl CrashInfo
impl CrashInfo
pub fn current_schema_version() -> String
pub fn demangle_names(&mut self) -> Result<()>
Source§impl CrashInfo
impl CrashInfo
pub fn normalize_ips(&mut self, pid: u32) -> Result<()>
pub fn resolve_names(&mut self, pid: u32) -> Result<()>
pub fn enrich_callstacks(&mut self, pid: u32) -> Result<()>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CrashInfo
impl<'de> Deserialize<'de> for CrashInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for CrashInfo
impl JsonSchema for CrashInfo
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for CrashInfo
Auto Trait Implementations§
impl Freeze for CrashInfo
impl RefUnwindSafe for CrashInfo
impl Send for CrashInfo
impl Sync for CrashInfo
impl Unpin for CrashInfo
impl UnsafeUnpin for CrashInfo
impl UnwindSafe for CrashInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more