Skip to main content

next_run_after

Function next_run_after 

Source
pub fn next_run_after(
    freq: ScheduleFrequency,
    anchor: DateTime<Utc>,
    after: DateTime<Utc>,
    opts: &ScheduleOptions,
) -> Result<Option<DateTime<Utc>>, String>
Expand description

Calculate the next fire instant strictly after after, honoring optional end conditions.