Enum evm_runtime::CreateScheme
source · pub enum CreateScheme {
Legacy {
caller: H160,
},
Create2 {
caller: H160,
code_hash: H256,
salt: H256,
},
Fixed(H160),
}
Expand description
Create scheme.
Variants§
Legacy
Legacy create scheme of CREATE
.
Create2
Create scheme of CREATE2
.
Fixed(H160)
Create at a fixed location.
Trait Implementations§
source§impl Clone for CreateScheme
impl Clone for CreateScheme
source§fn clone(&self) -> CreateScheme
fn clone(&self) -> CreateScheme
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CreateScheme
impl Debug for CreateScheme
source§impl PartialEq for CreateScheme
impl PartialEq for CreateScheme
source§fn eq(&self, other: &CreateScheme) -> bool
fn eq(&self, other: &CreateScheme) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CreateScheme
impl Eq for CreateScheme
impl StructuralEq for CreateScheme
impl StructuralPartialEq for CreateScheme
Auto Trait Implementations§
impl RefUnwindSafe for CreateScheme
impl Send for CreateScheme
impl Sync for CreateScheme
impl Unpin for CreateScheme
impl UnwindSafe for CreateScheme
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