pub enum TransactionReaperCompletionDecision {
RejectMalformed,
RejectStaleIdentity,
RejectChangedPreparedState,
AlreadyComplete,
Proceed,
}Expand description
Whether the idle reaper or the completion task may publish one prepared completion.
Variants§
RejectMalformed
A snapshot names a negative producer ID or epoch.
RejectStaleIdentity
The live entry no longer holds the prepared producer identity.
RejectChangedPreparedState
The live entry holds the prepared identity but is no longer the exact prepared snapshot.
AlreadyComplete
The live entry already holds the intended completion.
Proceed
The live entry is the exact prepared snapshot.
Trait Implementations§
Source§impl Clone for TransactionReaperCompletionDecision
impl Clone for TransactionReaperCompletionDecision
Source§fn clone(&self) -> TransactionReaperCompletionDecision
fn clone(&self) -> TransactionReaperCompletionDecision
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TransactionReaperCompletionDecision
impl Eq for TransactionReaperCompletionDecision
impl StructuralPartialEq for TransactionReaperCompletionDecision
Auto Trait Implementations§
impl Freeze for TransactionReaperCompletionDecision
impl RefUnwindSafe for TransactionReaperCompletionDecision
impl Send for TransactionReaperCompletionDecision
impl Sync for TransactionReaperCompletionDecision
impl Unpin for TransactionReaperCompletionDecision
impl UnsafeUnpin for TransactionReaperCompletionDecision
impl UnwindSafe for TransactionReaperCompletionDecision
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