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
Ok
Successful execution
Fields of Ok
state_root: H256 | State root |
gas_left: U256 | Amount of gas left |
output: Vec<u8> | Output |
trace: Vec<T> | Traces |
vm_trace: Option<V> | VM Traces |
contract_address: Option<H160> | Created contract address (if any) |
logs: Vec<LogEntry> | Generated logs |
outcome: TransactionOutcome | outcome |
Err
Transaction failed to run
Fields of Err
state_root: H256 | State root |
error: Error | Execution error |
Trait Implementations
impl<T: Debug, V: Debug> Debug for TransactResult<T, V>
[src]
impl<T: Debug, V: Debug> Debug for TransactResult<T, V>
Auto Trait Implementations
impl<T, V> Send for TransactResult<T, V> where
T: Send,
V: Send,
impl<T, V> Send for TransactResult<T, V> where
T: Send,
V: Send,
impl<T, V> !Sync for TransactResult<T, V>
impl<T, V> !Sync for TransactResult<T, V>