#[non_exhaustive]pub struct RuntimeConfig {
pub eip161_empty_check: bool,
pub eip7610_create_check_storage: bool,
pub eip6780_suicide_only_in_same_tx: bool,
pub eip3651_warm_coinbase_address: bool,
}
Expand description
Runtime config.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.eip161_empty_check: bool
EIP-161: new rules about empty accounts.
eip7610_create_check_storage: bool
EIP-7610: check whether storage is empty in create collision logic.
eip6780_suicide_only_in_same_tx: bool
EIP-6780: selfdestruct deletet contract only if called in the same tx as creation
eip3651_warm_coinbase_address: bool
EIP-3651
Implementations§
Trait Implementations§
Source§impl<'config> AsRef<RuntimeConfig> for RuntimeStateAndConfig<'config>
impl<'config> AsRef<RuntimeConfig> for RuntimeStateAndConfig<'config>
Source§fn as_ref(&self) -> &RuntimeConfig
fn as_ref(&self) -> &RuntimeConfig
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for RuntimeConfig
impl Clone for RuntimeConfig
Source§fn clone(&self) -> RuntimeConfig
fn clone(&self) -> RuntimeConfig
Returns a duplicate 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 RuntimeConfig
impl Debug for RuntimeConfig
Auto Trait Implementations§
impl Freeze for RuntimeConfig
impl RefUnwindSafe for RuntimeConfig
impl Send for RuntimeConfig
impl Sync for RuntimeConfig
impl Unpin for RuntimeConfig
impl UnwindSafe for RuntimeConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> TrapConsume<T> for T
impl<T> TrapConsume<T> for T
Source§type Rest = Infallible
type Rest = Infallible
Rest type.
Source§fn consume(self) -> Result<T, Infallible>
fn consume(self) -> Result<T, Infallible>
Consume
T
to get Rest
.