pub enum OwnerPromotionJournalState {
Allocated,
RequestPrepared {
request: OwnerPromotionRequest,
candidate: Box<PreparedStoreOperationCommit>,
},
AwaitingAcceptance {
request: OwnerPromotionRequest,
activation: OwnerPromotionRequestActivation,
},
AcceptanceReady {
acceptance: OwnerPromotionAcceptance,
},
MergeMembershipPrepared {
acceptance: OwnerPromotionAcceptance,
wrapped_key: PreparedWrappedStoreKey,
transition: Box<PreparedMembershipTransition>,
},
MergeHeadPrepared {
acceptance: OwnerPromotionAcceptance,
wrapped_key: PreparedWrappedStoreKey,
transition: Box<PreparedMembershipTransition>,
publication: Box<PreparedMembershipPublication>,
candidate: Box<PreparedStoreOperationCommit>,
},
Finalized {
acceptance: OwnerPromotionAcceptance,
membership: StoreMembershipStateRef,
receipt: Box<OwnerPromotionFinalizationReceipt>,
},
Nonactivated {
request: OwnerPromotionRequest,
nonactivation: CandidateNonactivation,
},
Stale {
acceptance: OwnerPromotionAcceptance,
reason: OwnerPromotionStaleReason,
evidence: Box<OwnerPromotionStaleEvidence>,
},
}Variants§
Allocated
RequestPrepared
AwaitingAcceptance
AcceptanceReady
Fields
§
acceptance: OwnerPromotionAcceptanceMergeMembershipPrepared
Fields
§
acceptance: OwnerPromotionAcceptance§
wrapped_key: PreparedWrappedStoreKey§
transition: Box<PreparedMembershipTransition>MergeHeadPrepared
Fields
§
acceptance: OwnerPromotionAcceptance§
wrapped_key: PreparedWrappedStoreKey§
transition: Box<PreparedMembershipTransition>§
publication: Box<PreparedMembershipPublication>§
candidate: Box<PreparedStoreOperationCommit>Finalized
Fields
§
acceptance: OwnerPromotionAcceptance§
membership: StoreMembershipStateRef§
receipt: Box<OwnerPromotionFinalizationReceipt>Nonactivated
Stale
Fields
§
acceptance: OwnerPromotionAcceptance§
reason: OwnerPromotionStaleReason§
evidence: Box<OwnerPromotionStaleEvidence>Trait Implementations§
Source§impl Clone for OwnerPromotionJournalState
impl Clone for OwnerPromotionJournalState
Source§fn clone(&self) -> OwnerPromotionJournalState
fn clone(&self) -> OwnerPromotionJournalState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OwnerPromotionJournalState
impl Debug for OwnerPromotionJournalState
Source§impl<'de> Deserialize<'de> for OwnerPromotionJournalState
impl<'de> Deserialize<'de> for OwnerPromotionJournalState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl !Freeze for OwnerPromotionJournalState
impl RefUnwindSafe for OwnerPromotionJournalState
impl Send for OwnerPromotionJournalState
impl Sync for OwnerPromotionJournalState
impl Unpin for OwnerPromotionJournalState
impl UnsafeUnpin for OwnerPromotionJournalState
impl UnwindSafe for OwnerPromotionJournalState
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
Mutably borrows from an owned value. Read more