Struct wasmtime_runtime::Backtrace
source · [−]pub struct Backtrace(_);
Expand description
A WebAssembly stack trace.
Implementations
sourceimpl Backtrace
impl Backtrace
sourcepub fn trace(f: impl FnMut(Frame) -> ControlFlow<()>)
pub fn trace(f: impl FnMut(Frame) -> ControlFlow<()>)
Walk the current Wasm stack, calling f
for each frame we walk.
sourcepub fn frames<'a>(&'a self) -> impl ExactSizeIterator<Item = &'a Frame> + 'a
pub fn frames<'a>(&'a self) -> impl ExactSizeIterator<Item = &'a Frame> + 'a
Iterate over the frames inside this backtrace.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Backtrace
impl Send for Backtrace
impl Sync for Backtrace
impl Unpin for Backtrace
impl UnwindSafe for Backtrace
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