pub struct CreateTrap {
pub scheme: CreateScheme,
pub value: U256,
pub code: Vec<u8>,
}
Fields§
§scheme: CreateScheme
§value: U256
§code: Vec<u8>
Implementations§
Source§impl CreateTrap
impl CreateTrap
pub fn new_create_from<S: AsRef<RuntimeState> + AsMut<RuntimeState>>( machine: &mut Machine<S>, ) -> Result<Self, ExitError>
pub fn new_create2_from<S: AsRef<RuntimeState> + AsMut<RuntimeState>>( machine: &mut Machine<S>, ) -> Result<Self, ExitError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CreateTrap
impl RefUnwindSafe for CreateTrap
impl Send for CreateTrap
impl Sync for CreateTrap
impl Unpin for CreateTrap
impl UnwindSafe for CreateTrap
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