Enum parables_testing::evm::Outcome[][src]

pub enum Outcome<T> {
    Ok(T),
    Reverted {
        error_info: ErrorInfo,
    },
    Errored {
        error_info: ErrorInfo,
    },
    Status {
        status: u8,
    },
}

The outcome of a transaction.

Even when transactions fail, they might be using gas.

Variants

Fields of Reverted

Fields of Errored

Fields of Status

Methods

impl<T> Outcome<T>
[src]

Check if the outcome is OK.

Check if outcome is errored.

Check if the outcome is reverted.

Trait Implementations

impl<T: Debug> Debug for Outcome<T>
[src]

Formats the value using the given formatter. Read more

impl<T: Clone> Clone for Outcome<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: PartialEq> PartialEq for Outcome<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: Eq> Eq for Outcome<T>
[src]

Auto Trait Implementations

impl<T> Send for Outcome<T> where
    T: Send

impl<T> Sync for Outcome<T> where
    T: Sync