Struct wasmtime_runtime::Trap
source · pub struct Trap {
pub reason: TrapReason,
pub backtrace: Option<Backtrace>,
}
Expand description
Stores trace message with backtrace.
Fields§
§reason: TrapReason
Original reason from where this trap originated.
backtrace: Option<Backtrace>
Wasm backtrace of the trap, if any.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Trap
impl Send for Trap
impl Sync for Trap
impl Unpin for Trap
impl !UnwindSafe for Trap
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