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