Enum hedera::FreezeType
source · pub enum FreezeType {
Unknown = 0,
FreezeOnly = 1,
PrepareUpgrade = 2,
FreezeUpgrade = 3,
FreezeAbort = 4,
TelemetryUpgrade = 5,
}
Expand description
What type of freeze should be executed?
Variants§
Unknown = 0
An (invalid) default value for this enum, to ensure the client explicitly sets the intended type of freeze transaction.
FreezeOnly = 1
Freezes the network at the specified time. The start_time field must be provided and must reference a future time. Any values specified for the update_file and file_hash fields will be ignored. This transaction does not perform any network changes or upgrades and requires manual intervention to restart the network.
PrepareUpgrade = 2
A non-freezing operation that initiates network wide preparation in advance of a scheduled freeze upgrade. The update_file and file_hash fields must be provided and valid. The start_time field may be omitted and any value present will be ignored.
FreezeUpgrade = 3
Freezes the network at the specified time and performs the previously prepared automatic upgrade across the entire network.
FreezeAbort = 4
Aborts a pending network freeze operation.
TelemetryUpgrade = 5
Performs an immediate upgrade on auxilary services and containers providing telemetry/metrics. Does not impact network operations.
Trait Implementations§
source§impl Clone for FreezeType
impl Clone for FreezeType
source§fn clone(&self) -> FreezeType
fn clone(&self) -> FreezeType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FreezeType
impl Debug for FreezeType
source§impl Default for FreezeType
impl Default for FreezeType
source§fn default() -> FreezeType
fn default() -> FreezeType
source§impl From<i32> for FreezeType
impl From<i32> for FreezeType
source§impl Hash for FreezeType
impl Hash for FreezeType
source§impl PartialEq for FreezeType
impl PartialEq for FreezeType
source§fn eq(&self, other: &FreezeType) -> bool
fn eq(&self, other: &FreezeType) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for FreezeType
impl Eq for FreezeType
impl StructuralPartialEq for FreezeType
Auto Trait Implementations§
impl Freeze for FreezeType
impl RefUnwindSafe for FreezeType
impl Send for FreezeType
impl Sync for FreezeType
impl Unpin for FreezeType
impl UnwindSafe for FreezeType
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request