pub enum GasLeft {
Known(U256),
NeedsReturn {
gas_left: U256,
data: ReturnData,
apply_state: bool,
},
}
Expand description
Gas Left: either it is a known value, or it needs to be computed by processing a return instruction.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GasLeft
impl RefUnwindSafe for GasLeft
impl Send for GasLeft
impl Sync for GasLeft
impl Unpin for GasLeft
impl UnwindSafe for GasLeft
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more