[][src]Struct symbolic_debuginfo::breakpad::BreakpadFileRecord

pub struct BreakpadFileRecord<'d> {
    pub id: u64,
    pub name: &'d str,
}

A file record, specifying the path to a source code file.

The ID of this record is referenced by BreakpadLineRecord. File records are not necessarily consecutive or sorted by their identifier. The Breakpad symbol writer might reuse original identifiers from the source debug file when dumping symbols.

Example: FILE 2 /home/jimb/mc/in/browser/app/nsBrowserApp.cpp

Fields

id: u64

Breakpad-internal identifier of the file.

name: &'d str

The path to the source file, usually relative to the compilation directory.

Methods

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

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

Parses a file record from a single line.

Trait Implementations

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

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

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

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

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

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

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

Auto Trait Implementations

impl<'d> RefUnwindSafe for BreakpadFileRecord<'d>

impl<'d> Send for BreakpadFileRecord<'d>

impl<'d> Sync for BreakpadFileRecord<'d>

impl<'d> Unpin for BreakpadFileRecord<'d>

impl<'d> UnwindSafe for BreakpadFileRecord<'d>

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.