Struct symbolic_debuginfo::breakpad::BreakpadModuleRecord[][src]

pub struct BreakpadModuleRecord<'d> {
    pub os: &'d str,
    pub arch: &'d str,
    pub id: &'d str,
    pub name: &'d str,
}

A module record, constituting the header of a Breakpad file.

Example: MODULE Linux x86 D3096ED481217FD4C16B29CD9BC208BA0 firefox-bin

Fields

os: &'d str

Name of the operating system.

arch: &'d str

Name of the CPU architecture.

id: &'d str

Breakpad identifier.

name: &'d str

Name of the original file.

This usually corresponds to the debug file (such as a PDB), but might not necessarily have a special file extension, such as for MachO dSYMs which share the same name as their code file.

Implementations

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

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

Parses a module record from a single line.

Trait Implementations

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

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

impl<'d> Default for BreakpadModuleRecord<'d>[src]

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

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

impl<'d> StructuralEq for BreakpadModuleRecord<'d>[src]

impl<'d> StructuralPartialEq for BreakpadModuleRecord<'d>[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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.