Struct woddle::JobRunner[][src]

pub struct JobRunner { /* fields omitted */ }
Expand description

The runner, which holds the jobs and runner configuration

Implementations

Creates a new runner based on the given RunnerConfig

Creates a new runner based on the given RunnerConfig and vector of jobs

Adds a job to the Runner

Starts the runner

This will:

  • Validate the added jobs
  • Initialize the database state, creating the woddle_jobs table
  • Announce all registered jobs with their timers
  • Start checking and running jobs

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.