Enum wasmedge_types::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<ImportError> for ImportError
impl PartialEq<ImportError> 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 ==
.