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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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 ExpireInactiveCompatSessionsJob

Source§

const QUEUE_NAME: &'static str = "expire-inactive-compat-sessions"

Source§

impl InsertableJob for ExpireInactiveOAuthSessionsJob

Source§

const QUEUE_NAME: &'static str = "expire-inactive-oauth-sessions"

Source§

impl InsertableJob for ExpireInactiveSessionsJob

Source§

const QUEUE_NAME: &'static str = "expire-inactive-sessions"

Source§

impl InsertableJob for ExpireInactiveUserSessionsJob

Source§

const QUEUE_NAME: &'static str = "expire-inactive-user-sessions"

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 SendEmailAuthenticationCodeJob

Source§

const QUEUE_NAME: &'static str = "send-email-authentication-code"

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"