pub type ScanCallback = Arc<dyn Fn(&str) -> ScalarValue + Send + Sync>;
Callback invoked by the scan scheduler; returns the new value for the PV.
pub struct ScanCallback { /* private fields */ }