Enum fuel_vm::error::BugVariant
source · pub enum BugVariant {
ContextGasOverflow,
ContextGasUnderflow,
GlobalGasUnderflow,
StackPointerOverflow,
}
Expand description
Traceable bug variants
Variants§
ContextGasOverflow
Context gas increase has overflow
ContextGasUnderflow
Context gas increase has underflow
GlobalGasUnderflow
Global gas subtraction has underflow
StackPointerOverflow
The stack point has overflow
Trait Implementations§
source§impl Clone for BugVariant
impl Clone for BugVariant
source§fn clone(&self) -> BugVariant
fn clone(&self) -> BugVariant
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 BugVariant
impl Debug for BugVariant
source§impl Display for BugVariant
impl Display for BugVariant
source§impl Hash for BugVariant
impl Hash for BugVariant
source§impl PartialEq<BugVariant> for BugVariant
impl PartialEq<BugVariant> for BugVariant
source§fn eq(&self, other: &BugVariant) -> bool
fn eq(&self, other: &BugVariant) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BugVariant
impl Eq for BugVariant
impl StructuralEq for BugVariant
impl StructuralPartialEq for BugVariant
Auto Trait Implementations§
impl RefUnwindSafe for BugVariant
impl Send for BugVariant
impl Sync for BugVariant
impl Unpin for BugVariant
impl UnwindSafe for BugVariant
Blanket Implementations§
source§impl<T> AnyDebug for Twhere
T: Any + Debug,
impl<T> AnyDebug for Twhere T: Any + Debug,
source§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any
.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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more