Struct parables_testing::evm::Call[][src]

#[must_use]
pub struct Call<T> { pub outcome: Outcome<T>, pub gas_used: U256, pub gas_price: U256, pub sender: Address, }

The result of executing a call transaction.

Fields

The outcome of a call.

Gas used to perform call.

The price payed for each gas.

The sender of the transaction.

Methods

impl<T> Call<T>
[src]

Access the total amount of gas used.

Check if the outcome is OK.

Check if outcome is errored.

Check if the outcome is reverted.

Check that a revert happened with the specified statement.

Convert the outcome into a result.

Trait Implementations

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

Formats the value using the given formatter. Read more

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: PartialEq> PartialEq for Call<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 Call<T>
[src]

impl<T> Display for Call<T> where
    T: Debug
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

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

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