Enum vm::GasLeft [−][src]
pub enum GasLeft { Known(U256), NeedsReturn { gas_left: U256, data: ReturnData, apply_state: bool, }, }
Gas Left: either it is a known value, or it needs to be computed by processing a return instruction.
Variants
Known(U256)
Known gas left
NeedsReturn
Return or Revert instruction must be processed.
Fields of NeedsReturn
gas_left: U256 | Amount of gas left. |
data: ReturnData | Return data buffer. |
apply_state: bool | Apply or revert state changes on revert. |