pub enum CoreCommonError {
Terminated,
RuntimeError,
CostLimitExceeded,
WrongVMWorkflow,
FuncNotFound,
AOTDisabled,
Interrupted,
UserDefError,
NotValidated,
NonNullRequired,
SetValueToConst,
SetValueErrorType,
}
Expand description
The error type for the common errors from WasmEdge Core.
Variants§
Terminated
RuntimeError
CostLimitExceeded
WrongVMWorkflow
FuncNotFound
AOTDisabled
Interrupted
UserDefError
NotValidated
NonNullRequired
SetValueToConst
SetValueErrorType
Trait Implementations§
Source§impl Clone for CoreCommonError
impl Clone for CoreCommonError
Source§fn clone(&self) -> CoreCommonError
fn clone(&self) -> CoreCommonError
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 CoreCommonError
impl Debug for CoreCommonError
Source§impl Display for CoreCommonError
impl Display for CoreCommonError
Source§impl Error for CoreCommonError
impl Error for CoreCommonError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 CoreCommonError
impl PartialEq for CoreCommonError
impl Eq for CoreCommonError
impl StructuralPartialEq for CoreCommonError
Auto Trait Implementations§
impl Freeze for CoreCommonError
impl RefUnwindSafe for CoreCommonError
impl Send for CoreCommonError
impl Sync for CoreCommonError
impl Unpin for CoreCommonError
impl UnwindSafe for CoreCommonError
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