Struct symbolic_debuginfo::breakpad::BreakpadLineRecord[][src]

pub struct BreakpadLineRecord {
    pub address: u64,
    pub size: u64,
    pub line: u64,
    pub file_id: u64,
}

A line record associated to a BreakpadFunctionRecord.

Line records are so frequent in a Breakpad symbol file that they do not have a record identifier. They immediately follow the BreakpadFuncRecord that they belong to. Thus, an iterator over line records can be obtained from the function record.

Example: c184 7 59 4

Fields

address: u64

The start address for this line relative to the image base (load address).

size: u64

The size of the code covered by this line record.

line: u64

The line number (zero means no line number).

file_id: u64

Identifier of the BreakpadFileRecord specifying the file name.

Implementations

impl BreakpadLineRecord[src]

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

Parses a line record from a single line.

pub fn filename<'d>(&self, file_map: &BreakpadFileMap<'d>) -> Option<&'d str>[src]

Resolves the filename for this record in the file map.

Trait Implementations

impl Clone for BreakpadLineRecord[src]

impl Debug for BreakpadLineRecord[src]

impl Default for BreakpadLineRecord[src]

impl Eq for BreakpadLineRecord[src]

impl PartialEq<BreakpadLineRecord> for BreakpadLineRecord[src]

impl StructuralEq for BreakpadLineRecord[src]

impl StructuralPartialEq for BreakpadLineRecord[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.