Enum wasmedge_sdk::error::ImportError
source · pub enum ImportError {
Type {
expected: ExternalInstanceType,
actual: ExternalInstanceType,
},
FuncType(String),
TableType(String),
MemType(String),
GlobalType(String),
}
Expand description
The error types for WasmEdge ImportType.
Variants§
Trait Implementations§
source§impl Clone for ImportError
impl Clone for ImportError
source§fn clone(&self) -> ImportError
fn clone(&self) -> ImportError
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 ImportError
impl Debug for ImportError
source§impl Display for ImportError
impl Display for ImportError
source§impl Error for ImportError
impl Error for ImportError
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 ImportError
impl PartialEq for ImportError
source§fn eq(&self, other: &ImportError) -> bool
fn eq(&self, other: &ImportError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ImportError
impl StructuralEq for ImportError
impl StructuralPartialEq for ImportError
Auto Trait Implementations§
impl RefUnwindSafe for ImportError
impl Send for ImportError
impl Sync for ImportError
impl Unpin for ImportError
impl UnwindSafe for ImportError
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