Skip to main content

Crate boson_backend_mem

Crate boson_backend_mem 

Source
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

Useful as a reference when implementing QueueBackend — see How to implement on the trait.

Structs§

MemQueueBackend
Process-local queue backend (not durable).

Functions§

install_default_mem_backend
Install a new MemQueueBackend as the process-global default backend.