Enum wasmedge_sdk::error::CoreLoadError
pub enum CoreLoadError {
Show 25 variants
IllegalPath,
ReadError,
UnexpectedEnd,
MalformedMagic,
MalformedVersion,
MalformedSection,
SectionSizeMismatch,
NameSizeOutOfBounds,
JunkSection,
IncompatibleFuncCode,
IncompatibleDataCount,
DataCountRequired,
MalformedImportKind,
MalformedExportKind,
ExpectedZeroByte,
InvalidMut,
TooManyLocals,
MalformedValType,
MalformedElemType,
MalformedRefType,
MalformedUTF8,
IntegerTooLarge,
IntegerTooLong,
IllegalOpCode,
IllegalGrammar,
}
Expand description
The error type for the load phase from WasmEdge Core.
Variants§
IllegalPath
ReadError
UnexpectedEnd
MalformedMagic
MalformedVersion
MalformedSection
SectionSizeMismatch
NameSizeOutOfBounds
JunkSection
IncompatibleFuncCode
IncompatibleDataCount
DataCountRequired
MalformedImportKind
MalformedExportKind
ExpectedZeroByte
InvalidMut
TooManyLocals
MalformedValType
MalformedElemType
MalformedRefType
MalformedUTF8
IntegerTooLarge
IntegerTooLong
IllegalOpCode
IllegalGrammar
Trait Implementations§
§impl Clone for CoreLoadError
impl Clone for CoreLoadError
§fn clone(&self) -> CoreLoadError
fn clone(&self) -> CoreLoadError
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 CoreLoadError
impl Debug for CoreLoadError
§impl Display for CoreLoadError
impl Display for CoreLoadError
§impl Error for CoreLoadError
impl Error for CoreLoadError
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<CoreLoadError> for CoreLoadError
impl PartialEq<CoreLoadError> for CoreLoadError
§fn eq(&self, other: &CoreLoadError) -> bool
fn eq(&self, other: &CoreLoadError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.