pub enum CoreLoadError {
Show 28 variants
IllegalPath,
ReadError,
UnexpectedEnd,
MalformedMagic,
MalformedVersion,
MalformedSection,
SectionSizeMismatch,
LengthOutOfBounds,
JunkSection,
IncompatibleFuncCode,
IncompatibleDataCount,
DataCountRequired,
MalformedImportKind,
MalformedExportKind,
ExpectedZeroByte,
InvalidMut,
TooManyLocals,
MalformedValType,
MalformedElemType,
MalformedRefType,
MalformedUTF8,
IntegerTooLarge,
IntegerTooLong,
IllegalOpCode,
IllegalGrammar,
SharedMemoryNoMax,
IntrinsicsTableNotFound,
MalformedTable,
}
Expand description
The error type for the load phase from WasmEdge Core.
Variants§
IllegalPath
ReadError
UnexpectedEnd
MalformedMagic
MalformedVersion
MalformedSection
SectionSizeMismatch
LengthOutOfBounds
JunkSection
IncompatibleFuncCode
IncompatibleDataCount
DataCountRequired
MalformedImportKind
MalformedExportKind
ExpectedZeroByte
InvalidMut
TooManyLocals
MalformedValType
MalformedElemType
MalformedRefType
MalformedUTF8
IntegerTooLarge
IntegerTooLong
IllegalOpCode
IllegalGrammar
IntrinsicsTableNotFound
MalformedTable
Trait Implementations§
Source§impl Clone for CoreLoadError
impl Clone for CoreLoadError
Source§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 moreSource§impl Debug for CoreLoadError
impl Debug for CoreLoadError
Source§impl Display for CoreLoadError
impl Display for CoreLoadError
Source§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)>
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 CoreLoadError
impl PartialEq for CoreLoadError
impl Eq for CoreLoadError
impl StructuralPartialEq for CoreLoadError
Auto Trait Implementations§
impl Freeze for CoreLoadError
impl RefUnwindSafe for CoreLoadError
impl Send for CoreLoadError
impl Sync for CoreLoadError
impl Unpin for CoreLoadError
impl UnwindSafe for CoreLoadError
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