trait SubdiagMessageOp<G: EmissionGuarantee> = Fn(&mut Diag<'_, G>, SubdiagMessage) -> SubdiagMessage;