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

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.

Methods

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> PartialEq<BreakpadModuleRecord<'d>> for BreakpadModuleRecord<'d>[src]

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

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

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

Performs copy-assignment from source. Read more

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

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

Auto Trait Implementations

impl<'d> Send for BreakpadModuleRecord<'d>

impl<'d> Sync for BreakpadModuleRecord<'d>

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto 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> Erased for T