pub fn enumerate_printers<P: Fn(&Printer) -> bool + Send + Sync + 'static>( func: P, wait: bool )
Calls a function for all Printers.
Printer
If @func returns true, the enumeration is stopped.
true
func
a function to call for each printer
wait
if true, wait in a recursive mainloop until all printers are enumerated; otherwise return early