pub struct CallStack {
    pub frames: Vec<StackFrame>,
    pub info: CallStackInfo,
    pub thread_id: u32,
    pub thread_name: Option<String>,
    pub last_error_value: Option<CrashReason>,
}
Expand description

A stack of StackFrames produced as a result of unwinding a thread.

Fields

frames: Vec<StackFrame>

The stack frames. By convention, the stack frame at index 0 is the innermost callee frame, and the frame at the highest index in a call stack is the outermost caller.

info: CallStackInfo

Information about this CallStack.

thread_id: u32

The identifier of the thread.

thread_name: Option<String>

The name of the thread, if known.

last_error_value: Option<CrashReason>

The GetLastError() value stored in the TEB.

Implementations

Create a CallStack with info and no frames.

Write a human-readable description of the call stack to f.

This is very verbose, it implements the output format used by minidump_stackwalk.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.