Struct minidump_processor::CallStack
source · [−]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: CallStackInfoInformation about this CallStack.
thread_id: u32The 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
sourceimpl CallStack
impl CallStack
sourcepub fn with_context(context: MinidumpContext) -> Self
pub fn with_context(context: MinidumpContext) -> Self
Construct a CallStack that just has the unsymbolicated context frame.
This is the desired input for the stack walker.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CallStack
impl Send for CallStack
impl Sync for CallStack
impl Unpin for CallStack
impl UnwindSafe for CallStack
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more