Enum lightspeed_scheduler::scheduler::Scheduler [−][src]
pub enum Scheduler {
Cron(Schedule),
Interval {
interval_duration: Duration,
execute_at_startup: bool,
},
Multi(Vec<Scheduler>),
Never,
}
Variants
Cron(Schedule)
Set to execute on set time periods
Tuple Fields of Cron
0: Schedule
Set to execute exactly duration
away from the previous execution.
If
Multi shceduler: the execution is trigger where at least one of the schedulers in matched
Set to execute to never
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Scheduler
impl UnwindSafe for Scheduler
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more