pub trait Task:
Serialize
+ DeserializeOwned
+ Send
+ 'static {
const NAME: &'static str;
}Expand description
A serializable unit of work for a TaskQueue.
Redis / RabbitMQ adapters that persist and execute these types are added in a later phase.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".