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