pub enum OverlapPolicy {
Skip,
Allow,
Queue,
QueueOnSuccess,
}Expand description
Overlap behaviour for recurring schedules.
Variants§
Skip
Skip an occurrence while the previous one is still live.
Allow
Start occurrences regardless of the previous one.
Queue
Queue each occurrence behind the previous one: it starts once the previous one has finished, whatever the outcome.
QueueOnSuccess
Queue each occurrence behind the previous one and run it only if the previous one
succeeded; otherwise it ends as Skipped, and so do the following ones, until the
schedule is added again.
Trait Implementations§
Source§impl Clone for OverlapPolicy
impl Clone for OverlapPolicy
impl Copy for OverlapPolicy
Source§impl Debug for OverlapPolicy
impl Debug for OverlapPolicy
Source§impl Default for OverlapPolicy
impl Default for OverlapPolicy
impl Eq for OverlapPolicy
Source§impl PartialEq for OverlapPolicy
impl PartialEq for OverlapPolicy
impl StructuralPartialEq for OverlapPolicy
Auto Trait Implementations§
impl Freeze for OverlapPolicy
impl RefUnwindSafe for OverlapPolicy
impl Send for OverlapPolicy
impl Sync for OverlapPolicy
impl Unpin for OverlapPolicy
impl UnsafeUnpin for OverlapPolicy
impl UnwindSafe for OverlapPolicy
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