Enum near_vm_errors::WasmTrap [−][src]
pub enum WasmTrap {
Unreachable,
IncorrectCallIndirectSignature,
MemoryOutOfBounds,
CallIndirectOOB,
IllegalArithmetic,
MisalignedAtomicAccess,
IndirectCallToNull,
StackOverflow,
GenericTrap,
}
Expand description
A kind of a trap happened during execution of a binary
Variants
An unreachable
opcode was executed.
Call indirect incorrect signature trap.
Memory out of bounds trap.
Call indirect out of bounds trap.
An arithmetic exception, e.g. divided by zero.
Misaligned atomic access trap.
Indirect call to null.
Stack overflow.
Generic trap.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for WasmTrap
impl UnwindSafe for WasmTrap
Blanket Implementations
Mutably borrows from an owned value. Read more