Enum diem_key_manager::Action[][src]

pub enum Action {
    NoAction,
    FullKeyRotation,
    SubmitKeyRotationTransaction,
    WaitForReconfiguration,
    WaitForTransactionExecution,
}
Expand description

Defines actions that KeyManager should perform after a check of all associated state.

Variants

NoAction

There is no need to perform a rotation (keys are still fresh).

FullKeyRotation

Sufficient time has passed for another key rotation (keys are stale).

SubmitKeyRotationTransaction

Storage and the blockchain are inconsistent, submit a new rotation transaction.

WaitForReconfiguration

The validator config and the validator set are inconsistent, wait for reconfiguration.

WaitForTransactionExecution

Storage and the blockchain are inconsistent, wait for rotation transaction execution.

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.