pub enum TwoPhaseEvent {
Prepared {
steps: usize,
},
Stuck {
prepared: usize,
failed_step: usize,
},
}Expand description
Lifecycle events for metrics / logging (see cross-shard-transactions ADR).
Variants§
Prepared
All prepare steps succeeded (ready for commit phase).
Stuck
Coordinator stuck after partial progress (abort or commit failed).
Trait Implementations§
Source§impl Clone for TwoPhaseEvent
impl Clone for TwoPhaseEvent
Source§fn clone(&self) -> TwoPhaseEvent
fn clone(&self) -> TwoPhaseEvent
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 TwoPhaseEvent
Source§impl Debug for TwoPhaseEvent
impl Debug for TwoPhaseEvent
impl Eq for TwoPhaseEvent
Source§impl PartialEq for TwoPhaseEvent
impl PartialEq for TwoPhaseEvent
impl StructuralPartialEq for TwoPhaseEvent
Auto Trait Implementations§
impl Freeze for TwoPhaseEvent
impl RefUnwindSafe for TwoPhaseEvent
impl Send for TwoPhaseEvent
impl Sync for TwoPhaseEvent
impl Unpin for TwoPhaseEvent
impl UnsafeUnpin for TwoPhaseEvent
impl UnwindSafe for TwoPhaseEvent
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