Trait apalis::prelude::Message

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

Trait representing a job.

§Example

impl Message for Email {
    const NAME: &'static str = "redis::Email";
}

Required Associated Constants§

source

const NAME: &'static str

Represents the name for job.

Object Safety§

This trait is not object safe.

Implementors§