pub enum RecoveryStep {
LeaseExpired,
CheckpointReload,
Replay,
ReadyForDispatch,
}Expand description
Steps of the zero-data-loss failure recovery pipeline.
Variants§
LeaseExpired
Lease has expired or worker is gone; attempt is requeued.
CheckpointReload
Checkpoint for the run is (to be) reloaded.
Replay
Execution is (to be) replayed from checkpoint.
ReadyForDispatch
Attempt is ready to be dispatched to a new worker.
Implementations§
Source§impl RecoveryStep
impl RecoveryStep
Sourcepub fn pipeline() -> &'static [RecoveryStep]
pub fn pipeline() -> &'static [RecoveryStep]
Ordered sequence of steps for the pipeline.
Trait Implementations§
Source§impl Clone for RecoveryStep
impl Clone for RecoveryStep
Source§fn clone(&self) -> RecoveryStep
fn clone(&self) -> RecoveryStep
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 RecoveryStep
impl Debug for RecoveryStep
Source§impl PartialEq for RecoveryStep
impl PartialEq for RecoveryStep
impl Copy for RecoveryStep
impl Eq for RecoveryStep
impl StructuralPartialEq for RecoveryStep
Auto Trait Implementations§
impl Freeze for RecoveryStep
impl RefUnwindSafe for RecoveryStep
impl Send for RecoveryStep
impl Sync for RecoveryStep
impl Unpin for RecoveryStep
impl UnsafeUnpin for RecoveryStep
impl UnwindSafe for RecoveryStep
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