pub enum CallCreateTrap {
Call(CallTrap),
Create(CreateTrap),
}
Expand description
Combined call create trap data.
Variants§
Implementations§
Source§impl CallCreateTrap
impl CallCreateTrap
pub const fn target_gas(&self) -> Option<U256>
pub fn new_from<S: AsRef<RuntimeState> + AsMut<RuntimeState>>( opcode: CallCreateOpcode, machine: &mut Machine<S>, ) -> Result<Self, ExitError>
pub fn code<H: RuntimeBackend>(&self, handler: &H) -> Vec<u8> ⓘ
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CallCreateTrap
impl RefUnwindSafe for CallCreateTrap
impl Send for CallCreateTrap
impl Sync for CallCreateTrap
impl Unpin for CallCreateTrap
impl UnwindSafe for CallCreateTrap
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