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)>
Returns 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
impl Eq for HostFuncError
impl StructuralPartialEq for HostFuncError
Auto Trait Implementations§
impl Freeze for HostFuncError
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