Relax AppSrc::connect_need_data() callback bounds
Currently callback in AppSrc::connect_need_data()
requires Fn(&AppSrc, u32) + Send + Sync + 'static
, while in AppSrcCallbacks::builder().need_data()
only FnMut(&AppSrc, u32) + Send + 'static
.
Also FnMut()
should be applicable in Aggregator::connect_samples_selected()
and probably other similar signals.