Enum wasmedge_sdk::error::CoreValidationError
source · pub enum CoreValidationError {
Show 22 variants
InvalidAlignment,
TypeCheckFailed,
InvalidLabelIdx,
InvalidLocalIdx,
InvalidFuncTypeIdx,
InvalidFuncIdx,
InvalidTableIdx,
InvalidMemoryIdx,
InvalidGlobalIdx,
InvalidElemIdx,
InvalidDataIdx,
InvalidRefIdx,
ConstExprRequired,
DupExportName,
ImmutableGlobal,
InvalidResultArity,
MultiTables,
MultiMemories,
InvalidLimit,
InvalidMemPages,
InvalidStartFunc,
InvalidLaneIdx,
}
Expand description
The error type for the validation phase from WasmEdge Core.
Variants§
InvalidAlignment
TypeCheckFailed
InvalidLabelIdx
InvalidLocalIdx
InvalidFuncTypeIdx
InvalidFuncIdx
InvalidTableIdx
InvalidMemoryIdx
InvalidGlobalIdx
InvalidElemIdx
InvalidDataIdx
InvalidRefIdx
ConstExprRequired
DupExportName
ImmutableGlobal
InvalidResultArity
MultiTables
MultiMemories
InvalidLimit
InvalidMemPages
InvalidStartFunc
InvalidLaneIdx
Trait Implementations§
source§impl Clone for CoreValidationError
impl Clone for CoreValidationError
source§fn clone(&self) -> CoreValidationError
fn clone(&self) -> CoreValidationError
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 CoreValidationError
impl Debug for CoreValidationError
source§impl Display for CoreValidationError
impl Display for CoreValidationError
source§impl Error for CoreValidationError
impl Error for CoreValidationError
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 CoreValidationError
impl PartialEq for CoreValidationError
source§fn eq(&self, other: &CoreValidationError) -> bool
fn eq(&self, other: &CoreValidationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CoreValidationError
impl StructuralEq for CoreValidationError
impl StructuralPartialEq for CoreValidationError
Auto Trait Implementations§
impl RefUnwindSafe for CoreValidationError
impl Send for CoreValidationError
impl Sync for CoreValidationError
impl Unpin for CoreValidationError
impl UnwindSafe for CoreValidationError
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