pub fn run_process<P, F>(proc: P, f: F) -> Result<P>where P: ProcessingCore, F: Fn(&Item) -> Result<bool> + Send + Sync,