Trait mas_storage::job::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§

source§

impl Job for DeactivateUserJob

source§

const NAME: &'static str = "deactivate-user"

source§

impl Job for DeleteDeviceJob

source§

const NAME: &'static str = "delete-device"

source§

impl Job for ProvisionDeviceJob

source§

const NAME: &'static str = "provision-device"

source§

impl Job for ProvisionUserJob

source§

const NAME: &'static str = "provision-user"

source§

impl Job for ReactivateUserJob

source§

const NAME: &'static str = "reactivate-user"

source§

impl Job for SendAccountRecoveryEmailsJob

source§

const NAME: &'static str = "send-account-recovery-email"

source§

impl Job for SyncDevicesJob

source§

const NAME: &'static str = "sync-devices"

source§

impl Job for VerifyEmailJob

source§

const NAME: &'static str = "verify-email"

source§

impl<J: Job> Job for JobWithSpanContext<J>

source§

const NAME: &'static str = J::NAME