[−][src]Struct casperlabs_engine_core::engine_state::upgrade::UpgradeConfig
Methods
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_costs: Option<WasmCosts>,
activation_point: Option<ActivationPoint>
) -> 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_costs: Option<WasmCosts>,
activation_point: Option<ActivationPoint>
) -> 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_costs(&self) -> Option<WasmCosts>[src]
pub fn activation_point(&self) -> Option<u64>[src]
Trait Implementations
impl Clone for UpgradeConfig[src]
fn clone(&self) -> UpgradeConfig[src]
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]
fn eq(&self, other: &UpgradeConfig) -> bool[src]
fn ne(&self, other: &UpgradeConfig) -> bool[src]
impl StructuralEq for UpgradeConfig[src]
impl StructuralPartialEq for UpgradeConfig[src]
Auto Trait Implementations
impl RefUnwindSafe for UpgradeConfig
impl Send for UpgradeConfig
impl Sync for UpgradeConfig
impl Unpin for UpgradeConfig
impl UnwindSafe for UpgradeConfig
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,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T> FromBits<T> for T
fn from_bits(other: T) -> T
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.
fn to_owned(&self) -> T[src]
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.
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.
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>,