Enum wasmedge_sdk::error::InstanceError
pub enum InstanceError {
Create,
CreateWasi,
CreateWasmEdgeProcess,
CreateImportModule,
NotFoundFunc(String),
NotFoundTable(String),
NotFoundMem(String),
NotFoundGlobal(String),
NotFoundMappedFdHandler,
}
Expand description
The error types for WasmEdge Instance.
Variants§
Create
CreateWasi
CreateWasmEdgeProcess
CreateImportModule
NotFoundFunc(String)
NotFoundTable(String)
NotFoundMem(String)
NotFoundGlobal(String)
NotFoundMappedFdHandler
Trait Implementations§
§impl Clone for InstanceError
impl Clone for InstanceError
§fn clone(&self) -> InstanceError
fn clone(&self) -> InstanceError
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 InstanceError
impl Debug for InstanceError
§impl Display for InstanceError
impl Display for InstanceError
§impl Error for InstanceError
impl Error for InstanceError
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<InstanceError> for InstanceError
impl PartialEq<InstanceError> for InstanceError
§fn eq(&self, other: &InstanceError) -> bool
fn eq(&self, other: &InstanceError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.