Enum evm_gasometer::GasCost [−][src]
Gas cost.
Variants
Zero gas cost.
Base gas cost.
Very low gas cost.
Low gas cost.
Fail the gasometer.
Gas cost for EXTCODESIZE.
Gas cost for BALANCE.
Gas cost for BLOCKHASH.
Gas cost for EXTBLOCKHASH.
Gas cost for CALL.
Fields of Call
Gas cost for `CALLCODE.
Fields of CallCode
Gas cost for DELEGATECALL.
Gas cost for STATICCALL.
Gas cost for SUICIDE.
Fields of Suicide
Gas cost for SSTORE.
Gas cost for SHA3.
Fields of Sha3
len: U256Length of the data.
Gas cost for LOG.
Gas cost for EXTCODECOPY.
Fields of ExtCodeCopy
len: U256Length.
Gas cost for some copy opcodes that is documented as VERYLOW.
Fields of VeryLowCopy
len: U256Length.
Gas cost for EXP.
Fields of Exp
power: U256Power of EXP.
Gas cost for CREATE.
Gas cost for CREATE2.
Fields of Create2
len: U256Length.
Gas cost for SLOAD.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GasCost
impl Send for GasCost
impl Sync for GasCost
impl Unpin for GasCost
impl UnwindSafe for GasCost
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> Same<T> for T[src]
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>, [src]
V: MultiLane<T>,