pub type PrintJobFn = Arc<dyn Fn(JobContext, Arc<[u8]>, u32) -> PrintJobFuture + Send + Sync>;Expand description
The print-job callback: given a job context, the document payload, and a
copy count, returns a future resolving to the crate::raster::JobOutcome.
The framework drives spooling/retry around it.
Aliased Typeยง
pub struct PrintJobFn { /* private fields */ }