pub struct AppleCrashReport {
pub incident_identifier: Uuid,
pub timestamp: Option<DateTime<Utc>>,
pub code_type: Option<String>,
pub path: Option<String>,
pub application_specific_information: Option<String>,
pub filtered_syslog: Option<String>,
pub report_version: u32,
pub metadata: BTreeMap<String, String>,
pub threads: Vec<Thread>,
pub binary_images: Vec<BinaryImage>,
}Expand description
Holds a parsed apple crash report.
Fields§
§incident_identifier: UuidThe unique crash ID.
timestamp: Option<DateTime<Utc>>The timestamp of the crash.
code_type: Option<String>The architecture of the crash (might require further parsing)
path: Option<String>The path to the application.
application_specific_information: Option<String>Optional application specific crash information as string.
filtered_syslog: Option<String>Optional syslog info
report_version: u32The internal report version.
metadata: BTreeMap<String, String>Extra metdata.
threads: Vec<Thread>A list of threads.
binary_images: Vec<BinaryImage>A list of referenced binary images.
Implementations§
Source§impl AppleCrashReport
impl AppleCrashReport
Sourcepub fn from_reader<R: Read>(r: R) -> Result<AppleCrashReport, ParseError>
pub fn from_reader<R: Read>(r: R) -> Result<AppleCrashReport, ParseError>
Consumes a reader and parses it.
Trait Implementations§
Source§impl Debug for AppleCrashReport
impl Debug for AppleCrashReport
Source§impl Default for AppleCrashReport
impl Default for AppleCrashReport
Source§fn default() -> AppleCrashReport
fn default() -> AppleCrashReport
Returns the “default value” for a type. Read more
Source§impl FromStr for AppleCrashReport
impl FromStr for AppleCrashReport
Source§type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
Source§fn from_str(s: &str) -> Result<AppleCrashReport, ParseError>
fn from_str(s: &str) -> Result<AppleCrashReport, ParseError>
Parses a string
s to return a value of this type. Read moreAuto Trait Implementations§
impl Freeze for AppleCrashReport
impl RefUnwindSafe for AppleCrashReport
impl Send for AppleCrashReport
impl Sync for AppleCrashReport
impl Unpin for AppleCrashReport
impl UnwindSafe for AppleCrashReport
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