pub enum CoreInstantiationError {
ModuleNameConflict,
IncompatibleImportType,
UnknownImport,
DataSegDoesNotFit,
ElemSegDoesNotFit,
}
Expand description
The error type for the instantiation phase from WasmEdge Core.
Variants§
Trait Implementations§
source§impl Clone for CoreInstantiationError
impl Clone for CoreInstantiationError
source§fn clone(&self) -> CoreInstantiationError
fn clone(&self) -> CoreInstantiationError
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 CoreInstantiationError
impl Debug for CoreInstantiationError
source§impl Display for CoreInstantiationError
impl Display for CoreInstantiationError
source§impl Error for CoreInstantiationError
impl Error for CoreInstantiationError
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 CoreInstantiationError
impl PartialEq for CoreInstantiationError
source§fn eq(&self, other: &CoreInstantiationError) -> bool
fn eq(&self, other: &CoreInstantiationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CoreInstantiationError
impl StructuralEq for CoreInstantiationError
impl StructuralPartialEq for CoreInstantiationError
Auto Trait Implementations§
impl RefUnwindSafe for CoreInstantiationError
impl Send for CoreInstantiationError
impl Sync for CoreInstantiationError
impl Unpin for CoreInstantiationError
impl UnwindSafe for CoreInstantiationError
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