pub struct CallFrame {
pub call: Call,
pub evm: Evm,
pub ctx: Context,
pub checkpoint: usize,
pub target: (usize, usize),
pub is_create: bool,
}Fields§
§call: Call§evm: Evm§ctx: Context§checkpoint: usize§target: (usize, usize)Return-data target (ret_offset, ret_size) for the parent frame’s CALL/STATICCALL.
is_create: boolTrue when this frame is a CREATE/CREATE2, false for CALL/STATICCALL/etc.
Cannot rely on call.to.is_zero() because a plain CALL to address 0x0 is valid.
Auto Trait Implementations§
impl Freeze for CallFrame
impl RefUnwindSafe for CallFrame
impl Send for CallFrame
impl Sync for CallFrame
impl Unpin for CallFrame
impl UnsafeUnpin for CallFrame
impl UnwindSafe for CallFrame
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