pub enum Overlap {
BufferAll,
AllowAll,
Skip,
BufferOne,
CancelOther,
TerminateOther,
}Expand description
How a backfill’s runs behave when they collide with each other.
A schedule’s own policy is usually Skip, which discards a run whenever the previous one
is still going. A backfill replays many scheduled times at once, so under Skip almost
every one is dropped and the backfill silently does nothing. Temporal’s own documentation
says to override it, which is why a backfill carries a policy of its own.
Variants§
BufferAll
Run them one after another, none discarded. The safe default for a backfill.
AllowAll
Run them all at once. Fastest, and only safe when the workflow tolerates it.
Skip
BufferOne
CancelOther
TerminateOther
Implementations§
Trait Implementations§
impl Copy for Overlap
impl Eq for Overlap
impl StructuralPartialEq for Overlap
Auto Trait Implementations§
impl Freeze for Overlap
impl RefUnwindSafe for Overlap
impl Send for Overlap
impl Sync for Overlap
impl Unpin for Overlap
impl UnsafeUnpin for Overlap
impl UnwindSafe for Overlap
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