pub fn process<E, F>(cb: F) -> !
where E: Debug, F: Fn(WriteEvent<'_>, &mut dyn RecordWriter) -> Result<(), E>,