Function wasmtime_runtime::with_last_info [−][src]
pub fn with_last_info<R>(func: impl FnOnce(Option<&dyn Any>) -> R) -> R
Runs func with the last trap_info object registered by catch_traps.
Calls func with None if catch_traps wasn’t previously called from this
stack frame.