workers 0.1.0

A robust async PostgreSQL-backed background job processing system
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
/// An error occurred queueing the job
#[derive(Debug, thiserror::Error)]
#[non_exhaustive]
pub enum EnqueueError {
    /// An error occurred serializing the job
    #[error(transparent)]
    SerializationError(#[from] serde_json::error::Error),

    /// An error occurred inserting the job into the database
    #[error(transparent)]
    DatabaseError(#[from] sqlx::Error),
}