Struct backtrace::BacktraceFrame [] [src]

pub struct BacktraceFrame {
    // some fields omitted
}

Captured version of a frame in a backtrace.

This type is returned as a list from Backtrace::frames and represents one stack frame in a captured backtrace.

Methods

impl BacktraceFrame
[src]

fn symbols(&self) -> &[BacktraceSymbol]

Returns the list of symbols that this frame corresponds to.

Normally there is only one symbol per frame, but sometimes if a number of functions are inlined into one frame then multiple symbols will be returned. The first symbol listed is the "innermost function", whereas the last symbol is the outermost (last caller).

Trait Implementations

impl Frame for BacktraceFrame
[src]

fn ip(&self) -> *mut c_void

Returns the current instruction pointer of this frame. Read more

fn symbol_address(&self) -> *mut c_void

Returns the starting symbol address of the frame of this function. Read more