Enum evm::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 gas left

Return or Revert instruction must be processed.

Fields of NeedsReturn

Amount of gas left.

Return data buffer.

Apply or revert state changes on revert.

Trait Implementations

impl Debug for GasLeft
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for GasLeft

impl Sync for GasLeft