Enum evm_core::ExternalOperation
source · pub enum ExternalOperation {
AccountBasicRead,
AddressCodeRead(H160),
IsEmpty,
Write(U256),
}
Expand description
Operations for recording external costs
Variants§
AccountBasicRead
Reading basic account from storage. Fixed size.
AddressCodeRead(H160)
Reading address code from storage. Dynamic size.
IsEmpty
Basic check for account emptiness. Fixed size.
Write(U256)
Writing to storage (Number of bytes written).
Auto Trait Implementations§
impl RefUnwindSafe for ExternalOperation
impl Send for ExternalOperation
impl Sync for ExternalOperation
impl Unpin for ExternalOperation
impl UnwindSafe for ExternalOperation
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