[][src]Struct casper_execution_engine::core::engine_state::upgrade::UpgradeConfig

pub struct UpgradeConfig { /* fields omitted */ }

Implementations

impl UpgradeConfig[src]

pub fn new(
    pre_state_hash: Blake2bHash,
    current_protocol_version: ProtocolVersion,
    new_protocol_version: ProtocolVersion,
    upgrade_installer_args: Option<Vec<u8>>,
    upgrade_installer_bytes: Option<Vec<u8>>,
    wasm_config: Option<WasmConfig>,
    activation_point: Option<ActivationPoint>,
    new_validator_slots: Option<u32>,
    new_auction_delay: Option<u64>,
    new_locked_funds_period: Option<EraId>,
    new_round_seigniorage_rate: Option<Ratio<u64>>
) -> Self
[src]

pub fn pre_state_hash(&self) -> Blake2bHash[src]

pub fn current_protocol_version(&self) -> ProtocolVersion[src]

pub fn new_protocol_version(&self) -> ProtocolVersion[src]

pub fn upgrade_installer_args(&self) -> Option<&[u8]>[src]

pub fn upgrade_installer_bytes(&self) -> Option<&[u8]>[src]

pub fn wasm_config(&self) -> Option<&WasmConfig>[src]

pub fn activation_point(&self) -> Option<u64>[src]

pub fn new_validator_slots(&self) -> Option<u32>[src]

pub fn new_auction_delay(&self) -> Option<u64>[src]

pub fn new_locked_funds_period(&self) -> Option<EraId>[src]

pub fn new_round_seigniorage_rate(&self) -> Option<Ratio<u64>>[src]

Trait Implementations

impl Clone for UpgradeConfig[src]

impl Debug for UpgradeConfig[src]

impl Eq for UpgradeConfig[src]

impl PartialEq<UpgradeConfig> for UpgradeConfig[src]

impl StructuralEq for UpgradeConfig[src]

impl StructuralPartialEq for UpgradeConfig[src]

Auto Trait Implementations

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> DynClone for T where
    T: Clone
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

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>,