Enum solana_storage_proto::convert::generated_evm::exit_reason::ExitVariant[][src]

#[repr(i32)]pub enum ExitVariant {
    Stopped,
    Returned,
    Suicided,
    Reverted,
    NotSupported,
    UnhandledInterrupt,
    OtherFatal,
    StackUnderflow,
    StackOverflow,
    InvalidJump,
    InvalidRange,
    DesignatedInvalid,
    CallTooDeep,
    CreateCollision,
    CreateContractLimit,
    OutOfOffset,
    OutOfGas,
    OutOfFund,
    PcUnderflow,
    CreateEmpty,
    Other,
}

Variants

Stopped

Succeed

Returned
Suicided
Reverted

Revert

NotSupported

Fatal

UnhandledInterrupt
OtherFatal
StackUnderflow

Error or Error as Fatal

StackOverflow
InvalidJump
InvalidRange
DesignatedInvalid
CallTooDeep
CreateCollision
CreateContractLimit
OutOfOffset
OutOfGas
OutOfFund
PcUnderflow
CreateEmpty
Other

Implementations

impl ExitVariant[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of ExitVariant.

pub fn from_i32(value: i32) -> Option<ExitVariant>[src]

Converts an i32 to a ExitVariant, or None if value is not a valid variant.

Trait Implementations

impl Clone for ExitVariant[src]

impl Copy for ExitVariant[src]

impl Debug for ExitVariant[src]

impl Default for ExitVariant[src]

impl Eq for ExitVariant[src]

impl From<ExitVariant> for i32[src]

impl Hash for ExitVariant[src]

impl Ord for ExitVariant[src]

impl PartialEq<ExitVariant> for ExitVariant[src]

impl PartialOrd<ExitVariant> for ExitVariant[src]

impl StructuralEq for ExitVariant[src]

impl StructuralPartialEq for ExitVariant[src]

Auto Trait Implementations

impl RefUnwindSafe for ExitVariant

impl Send for ExitVariant

impl Sync for ExitVariant

impl Unpin for ExitVariant

impl UnwindSafe for ExitVariant

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash
[src]

impl<'a, T> Contains<'a, T> for T where
    T: 'a + Eq + Hash + Copy
[src]

type Item = &'a T

type Iter = Once<&'a T>

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]