Enum wasmedge_sdk::error::CoreExecutionError
pub enum CoreExecutionError {
Show 17 variants
WrongInstanceAddress,
WrongInstanceIndex,
InstrTypeMismatch,
FuncTypeMismatch,
DivideByZero,
IntegerOverflow,
InvalidConvToInt,
TableOutOfBounds,
MemoryOutOfBounds,
Unreachable,
UninitializedElement,
UndefinedElement,
IndirectCallTypeMismatch,
HostFuncFailed,
RefTypeMismatch,
UnalignedAtomicAccess,
ExpectSharedMemory,
}
Expand description
The error type for the execution phase from WasmEdge Core.
Variants§
WrongInstanceAddress
WrongInstanceIndex
InstrTypeMismatch
FuncTypeMismatch
DivideByZero
IntegerOverflow
InvalidConvToInt
TableOutOfBounds
MemoryOutOfBounds
Unreachable
UninitializedElement
UndefinedElement
IndirectCallTypeMismatch
HostFuncFailed
RefTypeMismatch
UnalignedAtomicAccess
Trait Implementations§
§impl Clone for CoreExecutionError
impl Clone for CoreExecutionError
§fn clone(&self) -> CoreExecutionError
fn clone(&self) -> CoreExecutionError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for CoreExecutionError
impl Debug for CoreExecutionError
§impl Display for CoreExecutionError
impl Display for CoreExecutionError
§impl Error for CoreExecutionError
impl Error for CoreExecutionError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
§impl PartialEq<CoreExecutionError> for CoreExecutionError
impl PartialEq<CoreExecutionError> for CoreExecutionError
§fn eq(&self, other: &CoreExecutionError) -> bool
fn eq(&self, other: &CoreExecutionError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.