Enum diem_key_manager::Action
source · 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§
source§impl PartialEq<Action> for Action
impl PartialEq<Action> for Action
impl Eq for Action
impl StructuralEq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.