[][src]Enum symbolic_debuginfo::breakpad::BreakpadInfoRecord

pub enum BreakpadInfoRecord<'d> {
    CodeId {
        code_id: &'d str,
        code_file: &'d str,
    },
    Other {
        scope: &'d str,
        info: &'d str,
    },
}

An information record.

This record type is not documented, but appears in Breakpad symbols after the header. It seems that currently only a CODE_ID scope is used, which contains the platform-dependent original code identifier of an object file.

Variants

CodeId

Information on the code file.

Fields of CodeId

code_id: &'d str

Identifier of the code file.

code_file: &'d str

File name of the code file.

Other

Any other INFO record.

Fields of Other

scope: &'d str

The scope of this info record.

info: &'d str

The information for this scope.

Methods

impl<'d> BreakpadInfoRecord<'d>[src]

pub fn parse(data: &'d [u8]) -> Result<Self, BreakpadError>[src]

Parses an info record from a single line.

Trait Implementations

impl<'d> Clone for BreakpadInfoRecord<'d>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<'d> PartialEq<BreakpadInfoRecord<'d>> for BreakpadInfoRecord<'d>[src]

impl<'d> Eq for BreakpadInfoRecord<'d>[src]

impl<'d> Debug for BreakpadInfoRecord<'d>[src]

Auto Trait Implementations

impl<'d> Unpin for BreakpadInfoRecord<'d>

impl<'d> Send for BreakpadInfoRecord<'d>

impl<'d> Sync for BreakpadInfoRecord<'d>

impl<'d> RefUnwindSafe for BreakpadInfoRecord<'d>

impl<'d> UnwindSafe for BreakpadInfoRecord<'d>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]