fn refused_delivery(
workers: &[WorkerEntry],
project_key: &str,
label: &str,
) -> Option<WorkerDeliverError>Expand description
The refusal for a label that cannot take a delivery: None when a live
worker matches, else the error naming which absence this is - a label
that is not in the project’s pool at all, or a row kept because the
worker crashed. The two read very differently to the sender: one says
“check the label”, the other “respawn it”.