Enum lunatic::LunaticError
source · [−]pub enum LunaticError {
Error(u64),
PermissionDenied,
}
Expand description
An opaque error returned from host calls.
Host calls can have a big number of failure reasons, and it’s impossible to enumerate all of them. This is especially true for calls that involve compiling raw binary data to WebAssembly modules. Because of this an opaque error ID is returned from host that can be transformed to a string.
Variants
Error(u64)
PermissionDenied
Trait Implementations
sourceimpl Debug for LunaticError
impl Debug for LunaticError
sourceimpl Display for LunaticError
impl Display for LunaticError
sourceimpl Drop for LunaticError
impl Drop for LunaticError
sourceimpl Error for LunaticError
impl Error for LunaticError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations
impl RefUnwindSafe for LunaticError
impl Send for LunaticError
impl Sync for LunaticError
impl Unpin for LunaticError
impl UnwindSafe for LunaticError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more