Enum wasmedge_sdk::error::CoreValidationError
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§
§impl Clone for CoreValidationError
impl Clone for CoreValidationError
§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 more§impl Debug for CoreValidationError
impl Debug for CoreValidationError
§impl Display for CoreValidationError
impl Display for CoreValidationError
§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()
§impl PartialEq<CoreValidationError> for CoreValidationError
impl PartialEq<CoreValidationError> for CoreValidationError
§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 ==
.