[][src]Struct symbolic_debuginfo::breakpad::BreakpadFuncRecord

pub struct BreakpadFuncRecord<'d> {
    pub multiple: bool,
    pub address: u64,
    pub size: u64,
    pub parameter_size: u64,
    pub name: &'d str,
    // some fields omitted
}

A function record including line information.

Example: FUNC m c184 30 0 nsQueryInterfaceWithError::operator()(nsID const&, void**) const

Fields

multiple: bool

Whether this function was referenced multiple times.

address: u64

The start address of this function relative to the image base (load address).

size: u64

The size of the code covered by this function's line records.

parameter_size: u64

The size of the parameters on the runtime stack.

name: &'d str

The demangled function name.

Methods

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

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

Parses a function record from a set of lines.

The first line must contain the function record itself. The lines iterator may contain line records for this function, which are read until another record isencountered or the file ends.

Important traits for BreakpadLineRecords<'d>
pub fn lines(&self) -> BreakpadLineRecords<'d>[src]

Returns an iterator over line records associated to this function.

Trait Implementations

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

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

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

Performs copy-assignment from source. Read more

impl<'_> PartialEq<BreakpadFuncRecord<'_>> for BreakpadFuncRecord<'_>[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl<'_> Eq for BreakpadFuncRecord<'_>[src]

impl<'_> Debug for BreakpadFuncRecord<'_>[src]

Auto Trait Implementations

impl<'d> Unpin for BreakpadFuncRecord<'d>

impl<'d> Send for BreakpadFuncRecord<'d>

impl<'d> Sync for BreakpadFuncRecord<'d>

impl<'d> RefUnwindSafe for BreakpadFuncRecord<'d>

impl<'d> UnwindSafe for BreakpadFuncRecord<'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]