Enum wasm::core::error::RuntimeError
source · pub enum RuntimeError {
DivideBy0,
UnrepresentableResult,
FunctionNotFound,
StackSmash,
BadConversionToInteger,
MemoryAccessOutOfBounds,
}
Variants§
DivideBy0
UnrepresentableResult
FunctionNotFound
StackSmash
BadConversionToInteger
MemoryAccessOutOfBounds
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 PartialEq for RuntimeError
impl PartialEq for RuntimeError
source§fn eq(&self, other: &RuntimeError) -> bool
fn eq(&self, other: &RuntimeError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RuntimeError
impl StructuralPartialEq for RuntimeError
Auto Trait Implementations§
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