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§
Object Safety§
This trait is not object safe.