Enum wasmedge_sdk::error::CoreExecutionError
source · 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§
source§impl Clone for CoreExecutionError
impl Clone for CoreExecutionError
source§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 moresource§impl Debug for CoreExecutionError
impl Debug for CoreExecutionError
source§impl Display for CoreExecutionError
impl Display for CoreExecutionError
source§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()
source§impl PartialEq for CoreExecutionError
impl PartialEq for CoreExecutionError
source§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 ==
.impl Eq for CoreExecutionError
impl StructuralEq for CoreExecutionError
impl StructuralPartialEq for CoreExecutionError
Auto Trait Implementations§
impl RefUnwindSafe for CoreExecutionError
impl Send for CoreExecutionError
impl Sync for CoreExecutionError
impl Unpin for CoreExecutionError
impl UnwindSafe for CoreExecutionError
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