Struct wasmtime_runtime::CoreDumpStack
source · pub struct CoreDumpStack {
pub bt: Backtrace,
pub locals: Vec<Vec<CoreDumpValue>>,
pub operand_stack: Vec<Vec<CoreDumpValue>>,
}
Expand description
A WebAssembly Coredump
Fields§
§bt: Backtrace
The backtrace containing the stack frames for the CoreDump
locals: Vec<Vec<CoreDumpValue>>
Unimplemented The indices of the locals and operand_stack all map to each other (ie. index 0 is the locals for the first frame in the backtrace, etc)
operand_stack: Vec<Vec<CoreDumpValue>>
Unimplemented The operands for each stack frame
Implementations§
source§impl CoreDumpStack
impl CoreDumpStack
sourcepub fn new(
cts: &CallThreadState,
limits: *const VMRuntimeLimits,
trap_pc_and_fp: Option<(usize, usize)>
) -> Self
pub fn new( cts: &CallThreadState, limits: *const VMRuntimeLimits, trap_pc_and_fp: Option<(usize, usize)> ) -> Self
Capture a core dump of the current wasm state
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CoreDumpStack
impl RefUnwindSafe for CoreDumpStack
impl Send for CoreDumpStack
impl Sync for CoreDumpStack
impl Unpin for CoreDumpStack
impl UnwindSafe for CoreDumpStack
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