mas_storage::queue

Trait InsertableJob

source
pub trait InsertableJob: Serialize + Send {
    const QUEUE_NAME: &'static str;
}
Expand description

A trait that represents a job which can be inserted into a queue

Required Associated Constants§

source

const QUEUE_NAME: &'static str

The name of the queue this job belongs to

Object Safety§

This trait is not object safe.

Implementors§

source§

impl InsertableJob for CleanupExpiredTokensJob

source§

const QUEUE_NAME: &'static str = "cleanup-expired-tokens"

source§

impl InsertableJob for DeactivateUserJob

source§

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

source§

impl InsertableJob for DeleteDeviceJob

source§

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

source§

impl InsertableJob for ProvisionDeviceJob

source§

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

source§

impl InsertableJob for ProvisionUserJob

source§

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

source§

impl InsertableJob for ReactivateUserJob

source§

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

source§

impl InsertableJob for SendAccountRecoveryEmailsJob

source§

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

source§

impl InsertableJob for SyncDevicesJob

source§

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

source§

impl InsertableJob for VerifyEmailJob

source§

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