boson-backend-mem 0.1.1

In-memory QueueBackend adapter for tests, CI, and testkit
Documentation
1
2
3
4
5
6
7
8
//! Error helpers for the in-memory backend.

use boson_core::BosonError;

/// Lock poison mapped to backend error.
pub fn lock_err() -> BosonError {
    BosonError::Backend("memory backend lock poisoned".into())
}