Expand description
In-memory QueueBackend adapter for tests and local development.
Topology: Mode 1 embedded only — state lives in this process and cannot be shared with a
remote worker. For Mode 2 (enqueue host + worker binary), use SQLite, Postgres, Redis, or NATS.
See the boson crate
Getting started.
§Entry points
MemQueueBackend— in-process queue persistenceinstall_default_mem_backend— register on globalQueueRouter
Useful as a reference when implementing QueueBackend — see
How to implement on the trait.
Structs§
- MemQueue
Backend - Process-local queue backend (not durable).
Functions§
- install_
default_ mem_ backend - Install a new
MemQueueBackendas the process-global default backend.