pub enum ExitError {
}
Expand description
Exit error reason.
Variants
StackUnderflow
Trying to pop from an empty stack.
StackOverflow
Trying to push into a stack over stack limit.
InvalidJump
Jump destination is invalid.
InvalidRange
An opcode accesses memory region, but the region is invalid.
DesignatedInvalid
Encountered the designated invalid opcode.
CallTooDeep
Call stack is too deep (runtime).
CreateCollision
Create opcode encountered collision (runtime).
CreateContractLimit
Create init code exceeds limit (runtime).
InvalidCode
Starting byte must not begin with 0xef. See EIP-3541.
OutOfOffset
An opcode accesses external information, but the request is off offset limit (runtime).
OutOfGas
Execution runs out of gas (runtime).
OutOfFund
Not enough fund to start the execution (runtime).
PCUnderflow
PC underflowed (unused).
CreateEmpty
Attempt to create an empty account (runtime, unused).
Other(Cow<'static, str>)
Other normal errors.
Trait Implementations
sourceimpl From<ExitError> for ExitReason
impl From<ExitError> for ExitReason
impl Eq for ExitError
impl StructuralEq for ExitError
impl StructuralPartialEq for ExitError
Auto Trait Implementations
impl RefUnwindSafe for ExitError
impl Send for ExitError
impl Sync for ExitError
impl Unpin for ExitError
impl UnwindSafe for ExitError
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more