Trait apalis::prelude::Job

source ·
pub trait Job {
    const NAME: &'static str;
}
Expand description

Trait representing a job.

§Example

impl Job for Email {
    const NAME: &'static str = "apalis::Email";
}

Required Associated Constants§

source

const NAME: &'static str

Represents the name for job.

Object Safety§

This trait is not object safe.

Implementors§