Skip to main content

JobTypeProvider

Trait JobTypeProvider 

Source
pub trait JobTypeProvider {
    // Required method
    fn default_job_type() -> &'static str;
}
Expand description

Extension trait for Job to provide default job type

Required Methods§

Source

fn default_job_type() -> &'static str

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> JobTypeProvider for T
where T: Job + Default,