pub enum RuntimeError {
Trap(TrapError),
ModuleNotFound,
FunctionNotFound,
ResumableNotFound,
StackExhaustion,
HostFunctionSignatureMismatch,
InvalidImportType,
UnknownImport,
MoreThanOneMemory,
OutOfFuel,
}
Variants§
Trap(TrapError)
ModuleNotFound
FunctionNotFound
ResumableNotFound
StackExhaustion
HostFunctionSignatureMismatch
InvalidImportType
UnknownImport
MoreThanOneMemory
OutOfFuel
Trait Implementations§
Source§impl Clone for RuntimeError
impl Clone for RuntimeError
Source§fn clone(&self) -> RuntimeError
fn clone(&self) -> RuntimeError
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 RuntimeError
impl Debug for RuntimeError
Source§impl Display for RuntimeError
impl Display for RuntimeError
Source§impl From<RuntimeError> for Error
impl From<RuntimeError> for Error
Source§fn from(value: RuntimeError) -> Self
fn from(value: RuntimeError) -> Self
Converts to this type from the input type.
Source§impl From<TrapError> for RuntimeError
impl From<TrapError> for RuntimeError
Source§impl PartialEq for RuntimeError
impl PartialEq for RuntimeError
impl Eq for RuntimeError
impl StructuralPartialEq for RuntimeError
Auto Trait Implementations§
impl Freeze for RuntimeError
impl RefUnwindSafe for RuntimeError
impl Send for RuntimeError
impl Sync for RuntimeError
impl Unpin for RuntimeError
impl UnwindSafe for RuntimeError
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