Struct common_types::engines::machine::Executed [−][src]
Transaction execution receipt.
Fields
exception: Option<Error>
True if the outer call/create resulted in an exceptional exit.
gas: U256
Gas paid up front for execution of transaction.
gas_used: U256
Gas used during execution of transaction.
refunded: U256
Gas refunded after the execution of transaction.
To get gas that was required up front, add refunded
and gas_used
.
cumulative_gas_used: U256
Cumulative gas used in current block so far.
cumulative_gas_used = gas_used(t0) + gas_used(t1) + ... gas_used(tn)
where tn
is current transaction.
logs: Vec<LogEntry>
Vector of logs generated by transaction.
contracts_created: Vec<Address>
Addresses of contracts created during execution of transaction. Ordered from earliest creation.
eg. sender creates contract A and A in constructor creates contract B
B creation ends first, and it will be the first element of the vector.
output: Bytes
Transaction output.
trace: Vec<T>
The trace of this transaction.
vm_trace: Option<V>
The VM trace of this transaction.
state_diff: Option<StateDiff>
The state diff, if we traced it.
Trait Implementations
impl<T: Clone, V: Clone> Clone for Executed<T, V>
[src]
impl<T: Debug, V: Debug> Debug for Executed<T, V>
[src]
impl<T: PartialEq, V: PartialEq> PartialEq<Executed<T, V>> for Executed<T, V>
[src]
impl<T, V> StructuralPartialEq for Executed<T, V>
[src]
Auto Trait Implementations
impl<T, V> RefUnwindSafe for Executed<T, V> where
T: RefUnwindSafe,
V: RefUnwindSafe,
T: RefUnwindSafe,
V: RefUnwindSafe,
impl<T, V> Send for Executed<T, V> where
T: Send,
V: Send,
T: Send,
V: Send,
impl<T, V> Sync for Executed<T, V> where
T: Sync,
V: Sync,
T: Sync,
V: Sync,
impl<T, V> Unpin for Executed<T, V> where
T: Unpin,
V: Unpin,
T: Unpin,
V: Unpin,
impl<T, V> UnwindSafe for Executed<T, V> where
T: UnwindSafe,
V: UnwindSafe,
T: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,