pub struct CoreDumpStackFrame {
pub instanceidx: u32,
pub funcidx: u32,
pub codeoffset: u32,
pub locals: Vec<CoreDumpValue>,
pub stack: Vec<CoreDumpValue>,
}
Expand description
A single stack frame from a core dump
Fields§
§instanceidx: u32
The instance that this stack frame belongs to.
funcidx: u32
The function index in the module
codeoffset: u32
The instruction’s offset relative to the function’s start
locals: Vec<CoreDumpValue>
The locals for this stack frame (including function parameters)
stack: Vec<CoreDumpValue>
The values on the stack
Trait Implementations§
Source§impl Debug for CoreDumpStackFrame
impl Debug for CoreDumpStackFrame
Source§impl<'a> FromReader<'a> for CoreDumpStackFrame
impl<'a> FromReader<'a> for CoreDumpStackFrame
Source§fn from_reader(
reader: &mut BinaryReader<'a>,
) -> Result<CoreDumpStackFrame, BinaryReaderError>
fn from_reader( reader: &mut BinaryReader<'a>, ) -> Result<CoreDumpStackFrame, BinaryReaderError>
Attempts to read
Self
from the provided binary reader, returning an
error if it is unable to do so.Auto Trait Implementations§
impl Freeze for CoreDumpStackFrame
impl RefUnwindSafe for CoreDumpStackFrame
impl Send for CoreDumpStackFrame
impl Sync for CoreDumpStackFrame
impl Unpin for CoreDumpStackFrame
impl UnwindSafe for CoreDumpStackFrame
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more