Enum evm::CreateContractAddress [−][src]
pub enum CreateContractAddress {
FromSenderAndNonce,
FromCodeHash,
FromSenderAndCodeHash,
}Specifies how an address is calculated for a new contract.
Variants
FromSenderAndNonceAddress is calculated from nonce and sender. Pre EIP-86 (Metropolis)
FromCodeHashAddress is calculated from code hash. Default since EIP-86
FromSenderAndCodeHashAddress is calculated from code hash and sender. Used by CREATE_P2SH instruction.
Trait Implementations
impl Copy for CreateContractAddress[src]
impl Copy for CreateContractAddressimpl Eq for CreateContractAddress[src]
impl Eq for CreateContractAddressimpl PartialEq<CreateContractAddress> for CreateContractAddress[src]
impl PartialEq<CreateContractAddress> for CreateContractAddressfn eq(&self, other: &CreateContractAddress) -> bool[src]
fn eq(&self, other: &CreateContractAddress) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Clone for CreateContractAddress[src]
impl Clone for CreateContractAddressfn clone(&self) -> CreateContractAddress[src]
fn clone(&self) -> CreateContractAddressReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
Auto Trait Implementations
impl Send for CreateContractAddress
impl Send for CreateContractAddressimpl Sync for CreateContractAddress
impl Sync for CreateContractAddress