Enum ethcore::client::TransactResult[][src]

pub enum TransactResult<T, V> {
    Ok {
        state_root: H256,
        gas_left: U256,
        output: Vec<u8>,
        trace: Vec<T>,
        vm_trace: Option<V>,
        contract_address: Option<H160>,
        logs: Vec<LogEntry>,
        outcome: TransactionOutcome,
    },
    Err {
        state_root: H256,
        error: Error,
    },
}

A result of applying transaction to the state.

Variants

Successful execution

Fields of Ok

State root

Amount of gas left

Output

Traces

VM Traces

Created contract address (if any)

Generated logs

outcome

Transaction failed to run

Fields of Err

State root

Execution error

Trait Implementations

impl<T: Debug, V: Debug> Debug for TransactResult<T, V>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T, V> Send for TransactResult<T, V> where
    T: Send,
    V: Send

impl<T, V> !Sync for TransactResult<T, V>