pub fn find_enqueued<S: EnqueuedJobs>(
store: &S,
want: &Enqueued,
) -> Result<Vec<Envelope>, String>Expand description
Find the enqueued jobs matching want, or an error saying what was there instead.
The error is the deliverable. assert!(store.job_state("x").is_some()) tells you a
lookup failed; this tells you the store held two mail:welcome jobs on queue default
when you expected one on priority, which is the difference between a failing test and
a debugged one.