Enum evm_gasometer::StorageTarget
source · pub enum StorageTarget {
None,
Address(H160),
Slot(H160, H256),
}
Expand description
Storage opcode will access. Used for tracking accessed storage (EIP-2929).
Variants§
None
No storage access
Address(H160)
Accessing address
Slot(H160, H256)
Accessing storage slot within an address
Trait Implementations§
source§impl Clone for StorageTarget
impl Clone for StorageTarget
source§fn clone(&self) -> StorageTarget
fn clone(&self) -> StorageTarget
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StorageTarget
impl Debug for StorageTarget
impl Copy for StorageTarget
Auto Trait Implementations§
impl RefUnwindSafe for StorageTarget
impl Send for StorageTarget
impl Sync for StorageTarget
impl Unpin for StorageTarget
impl UnwindSafe for StorageTarget
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