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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more