pub enum CoreValidationError {
Show 36 variants
InvalidAlignment,
TypeCheckFailed,
InvalidLabelIdx,
InvalidLocalIdx,
InvalidFieldIdx,
InvalidFuncTypeIdx,
InvalidFuncIdx,
InvalidTableIdx,
InvalidMemoryIdx,
InvalidGlobalIdx,
InvalidElemIdx,
InvalidDataIdx,
InvalidRefIdx,
ConstExprRequired,
DupExportName,
ImmutableGlobal,
ImmutableField,
ImmutableArray,
InvalidResultArity,
MultiTables,
MultiMemories,
InvalidLimit,
InvalidMemPages,
InvalidStartFunc,
InvalidLaneIdx,
InvalidUninitLocal,
InvalidNotDefaultableField,
InvalidNotDefaultableArray,
InvalidPackedField,
InvalidPackedArray,
InvalidUnpackedField,
InvalidUnpackedArray,
InvalidBrRefType,
ArrayTypesMismatch,
ArrayTypesNumtypeRequired,
InvalidSubType,
}
Expand description
The error type for the validation phase from WasmEdge Core.
Variants§
InvalidAlignment
TypeCheckFailed
InvalidLabelIdx
InvalidLocalIdx
InvalidFieldIdx
InvalidFuncTypeIdx
InvalidFuncIdx
InvalidTableIdx
InvalidMemoryIdx
InvalidGlobalIdx
InvalidElemIdx
InvalidDataIdx
InvalidRefIdx
ConstExprRequired
DupExportName
ImmutableGlobal
ImmutableField
ImmutableArray
InvalidResultArity
MultiTables
MultiMemories
InvalidLimit
InvalidMemPages
InvalidStartFunc
InvalidLaneIdx
InvalidUninitLocal
InvalidNotDefaultableField
InvalidNotDefaultableArray
InvalidPackedField
InvalidPackedArray
InvalidUnpackedField
InvalidUnpackedArray
InvalidBrRefType
ArrayTypesMismatch
ArrayTypesNumtypeRequired
InvalidSubType
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)>
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 CoreValidationError
impl PartialEq for CoreValidationError
impl Eq for CoreValidationError
impl StructuralPartialEq for CoreValidationError
Auto Trait Implementations§
impl Freeze for CoreValidationError
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