Enum wasmedge_types::error::StoreError
source · pub enum StoreError {
Create,
NotFoundFunc(String),
NotFoundFuncRegistered {
func_name: String,
mod_name: String,
},
NotFoundTable(String),
NotFoundTableRegistered {
table_name: String,
mod_name: String,
},
NotFoundMem(String),
NotFoundMemRegistered {
mem_name: String,
mod_name: String,
},
NotFoundGlobal(String),
NotFoundGlobalRegistered {
global_name: String,
mod_name: String,
},
NotFoundModule(String),
NotFoundActiveModule,
}
Expand description
The error types for WasmEdge Store.
Variants§
Create
NotFoundFunc(String)
NotFoundFuncRegistered
NotFoundTable(String)
NotFoundTableRegistered
NotFoundMem(String)
NotFoundMemRegistered
NotFoundGlobal(String)
NotFoundGlobalRegistered
NotFoundModule(String)
NotFoundActiveModule
Trait Implementations§
source§impl Clone for StoreError
impl Clone for StoreError
source§fn clone(&self) -> StoreError
fn clone(&self) -> StoreError
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 StoreError
impl Debug for StoreError
source§impl Display for StoreError
impl Display for StoreError
source§impl Error for StoreError
impl Error for StoreError
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 StoreError
impl PartialEq for StoreError
source§fn eq(&self, other: &StoreError) -> bool
fn eq(&self, other: &StoreError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StoreError
impl StructuralEq for StoreError
impl StructuralPartialEq for StoreError
Auto Trait Implementations§
impl RefUnwindSafe for StoreError
impl Send for StoreError
impl Sync for StoreError
impl Unpin for StoreError
impl UnwindSafe for StoreError
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