pub enum ExecuteError {
Show 21 variants
Custom(String),
OperandStackUnderflow,
NotImplemented,
TableIndexOutOfBound,
TypeIdxIndexOufOfBound,
FunctionIndexOutOfBound,
OpcodeIndexOutOfBound,
FrameIndexOutOfBound,
LocalIndexOutOfBound(usize),
GlobalIndexOutOfBound,
UnreachableExecuted,
AddrOutOfBound(u32, u32),
TypeMismatch,
ValueTypeMismatch,
ReturnTypeMismatch,
UndefinedTableEntry,
FunctionNotFound,
ExportEntryNotFound,
InvalidMemoryOperation,
FloatingPointException,
IndirectCallTypeMismatch(usize, Type, Type),
}
Variants§
Custom(String)
OperandStackUnderflow
NotImplemented
TableIndexOutOfBound
TypeIdxIndexOufOfBound
FunctionIndexOutOfBound
OpcodeIndexOutOfBound
FrameIndexOutOfBound
LocalIndexOutOfBound(usize)
GlobalIndexOutOfBound
UnreachableExecuted
AddrOutOfBound(u32, u32)
TypeMismatch
ValueTypeMismatch
ReturnTypeMismatch
UndefinedTableEntry
FunctionNotFound
ExportEntryNotFound
InvalidMemoryOperation
FloatingPointException
IndirectCallTypeMismatch(usize, Type, Type)
Trait Implementations§
Source§impl Debug for ExecuteError
impl Debug for ExecuteError
Auto Trait Implementations§
impl Freeze for ExecuteError
impl RefUnwindSafe for ExecuteError
impl Send for ExecuteError
impl Sync for ExecuteError
impl Unpin for ExecuteError
impl UnwindSafe for ExecuteError
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