pub enum ExternalOperation {
AccountBasicRead,
AddressCodeRead(H160),
IsEmpty,
Write(U256),
DelegationResolution(H160),
}
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).
DelegationResolution(H160)
Resolving EIP-7702 delegation (target address).
Auto Trait Implementations§
impl Freeze for ExternalOperation
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