macro_rules! for_each_ingest_store_rule {
($($callback:tt)+) => { ... };
}Expand description
Hands the complete ingest rule set to $callback.
This family’s single enumeration. $callback is the path of a macro that
accepts a comma-separated list of identifiers, and it is invoked once, with
every rule in ingest_rules.
§Examples
macro_rules! rule_names {
($($name:ident),* $(,)?) => { [ $( stringify!($name) ),* ] };
}
let names = happenstance_sync_testkit::for_each_ingest_store_rule!(rule_names);
assert!(names.contains(&"ingest_preserves_origin_identity"));
assert!(names.contains(&"an_unheld_own_identity_stops_the_ingest"));