pub trait CollectorFor<F: RecFamily> {
// Required method
fn push_rec<'buf>(&mut self, rec: Record<F::Rec<'buf>>) -> Flow;
}Expand description
Family-erased collector: accepts the family’s record type at any
buffer lifetime through a lifetime-generic method, which keeps it
dyn-compatible. This is what lets flat_map closures hold a plain
&mut Emitter<'_, OutF> without naming the downstream stack type.