Enum evm_runtime::CreateScheme[][src]

pub enum CreateScheme {
    Legacy {
        caller: H160,
    },
    Create2 {
        caller: H160,
        code_hash: H256,
        salt: H256,
    },
    Fixed(H160),
}

Create scheme.

Variants

Legacy

Legacy create scheme of CREATE.

Fields of Legacy

caller: H160

Caller of the create.

Create2

Create scheme of CREATE2.

Fields of Create2

caller: H160

Caller of the create.

code_hash: H256

Code hash.

salt: H256

Salt.

Fixed(H160)

Create at a fixed location.

Trait Implementations

impl Clone for CreateScheme[src]

impl Copy for CreateScheme[src]

impl Debug for CreateScheme[src]

impl Eq for CreateScheme[src]

impl PartialEq<CreateScheme> for CreateScheme[src]

impl StructuralEq for CreateScheme[src]

impl StructuralPartialEq for CreateScheme[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]