Module backend

Source
Expand description

Represents a task source eg Postgres or Redis

Structs§

Stat
Represents the current statistics of a backend
WorkerState
A serializable version of a worker’s state.

Traits§

Backend
A backend represents a task source Both Storage and MessageQueue need to implement it for workers to be able to consume tasks
BackendExpose
Represents functionality that allows reading of jobs and stats from a backend Some backends esp MessageQueues may not currently implement this