Skip to main content

QueueAdmissionCheck

Type Alias QueueAdmissionCheck 

Source
pub type QueueAdmissionCheck = dyn Fn() -> Result<(), String> + Send + Sync;
Expand description

A process-local Host admission check, evaluated at the synchronous queue commit after capacity waits. It must not block or perform I/O and cannot reconstruct authority from a persisted job.