Expand description
§Azums Postgres
Production-grade PostgreSQL storage backend implementation for azums.
Structs§
- Attempts
Repo - Ingest
Decisions Repo - Job
- Primary job entity representing a unit of work stored in a storage backend.
- JobList
Item - Lightweight job summary model returned when listing jobs in Admin UI or APIs.
- Jobs
Repo - Repository providing atomic database operations for job queue management.
- Maintenance
Repo - Memory
Attempt - Attempt history record stored in
MemoryBackend. - Memory
Backend - Thread-safe in-memory implementation of
StorageBackend. - Metrics
Repo - Mock
Backend - Recording mock storage backend wrapper for assertion-driven integration testing.
- NewJob
- Specification for enqueueing a new job into a storage backend.
- Policies
Repo - Policy
Decision Row - Policy
Decisions Repo - Postgres
Backend - PostgreSQL implementation of
StorageBackendusing SQLx. - Queue
Policy
Enums§
- Call
Record - Log record representing a single call executed against a
MockBackend. - JobStatus
- Enumeration of possible job lifecycle states.
Traits§
- Storage
Backend - Async, backend-agnostic storage interface for job queue operations.
Functions§
- make_
pool - Connects to a PostgreSQL database URL and returns a tuned
PgPool. - run_
migrations - Executes all embedded SQL schema migrations on the provided database connection pool.
Type Aliases§
- JobHandler
- Asynchronous job handler closure type alias.
- Queue
Error - Type alias for backward compatibility.