Enum wasmedge_sdk::error::ImportError
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§
§impl Clone for ImportError
impl Clone for ImportError
§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 more§impl Debug for ImportError
impl Debug for ImportError
§impl Display for ImportError
impl Display for ImportError
§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()
§impl PartialEq<ImportError> for ImportError
impl PartialEq<ImportError> for ImportError
§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 ==
.