pub trait BackgroundJob: Send + 'static {
// Required methods
fn execute(self: Box<Self>);
fn job_type(&self) -> BackgroundJobType;
}Expand description
Background job trait
pub trait BackgroundJob: Send + 'static {
// Required methods
fn execute(self: Box<Self>);
fn job_type(&self) -> BackgroundJobType;
}Background job trait