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
pub fn new_with_vec(
config: RunnerConfig,
jobs: Vec<impl Job + Send + Sync + Clone + 'static>
) -> Self
pub fn new_with_vec(
config: RunnerConfig,
jobs: Vec<impl Job + Send + Sync + Clone + 'static>
) -> Self
Creates a new runner based on the given RunnerConfig and vector of jobs
Adds a job to the Runner
Auto Trait Implementations
impl !RefUnwindSafe for JobRunner
impl !UnwindSafe for JobRunner