[−][src]Struct casper_execution_engine::core::engine_state::upgrade::UpgradeConfig
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]
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
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]
pub fn clone(&self) -> UpgradeConfig
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for UpgradeConfig
[src]
impl Eq for UpgradeConfig
[src]
impl PartialEq<UpgradeConfig> for UpgradeConfig
[src]
pub fn eq(&self, other: &UpgradeConfig) -> bool
[src]
pub fn ne(&self, other: &UpgradeConfig) -> bool
[src]
impl StructuralEq for UpgradeConfig
[src]
impl StructuralPartialEq for UpgradeConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for UpgradeConfig
[src]
impl Send for UpgradeConfig
[src]
impl Sync for UpgradeConfig
[src]
impl Unpin for UpgradeConfig
[src]
impl UnwindSafe for UpgradeConfig
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
pub fn __clone_box(&self, Private) -> *mut ()
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,