Expand description
Compiled routing rules (§8-B2 routing_rules) and the transform-dispatch
decision (§6.1): passthrough / transform_to / local / unsupported.
Structs§
- Compiled
Routing Rule - A routing-rule row with its string fields parsed into protocol enums.
- Routing
Rule Spec - Storage-agnostic routing-rule row consumed by the transform crate.
Enums§
- Routing
Decision - The dispatch decision for one
(source op, target channel kind)pairing. - Rule
Impl routing_rules.implementation, parsed.
Functions§
- compile
- Parse enabled rows in
sort_order. Unparsable rows are skipped with a warning — bad config must not take the snapshot down. - decide
- Decide how to service
sourceon a channel. Routing is driven entirely by stored rules: an explicit rule wins; no matching rule meansUnsupported. Channel defaults are materialized into real rules at provider creation (see [crate::api::routing::seed_default_routing]) — they are not recomputed here. Atransform_torule whosedest_kindis missing is malformed and yieldsUnsupported.