Skip to main content

Module catalog

Module catalog 

Source
Expand description

DispatcherCatalog — inventory-style fleet-wide registry of every typed dispatcher in scope. Any pleme-io crate that #[derive(TypedDispatcher)]s an enum can register a catalog entry via the register_dispatcher! macro; gen-platform iterates them all at runtime through DispatcherCatalog::registered().

This is the catalog reflection layer per theory/QUIRK-APPLIER.md §IV-bis.3.e — a single queryable surface for every place in pleme-io that switches on a typed tag. Operators query it via gen dispatchers catalog; substrate emitters consume it to produce Nix helpers skeletons + Lisp catalog entries mechanically.

Structs§

DispatcherEntry
One entry in the dispatcher catalog. Materialized via register_dispatcher! — the macro emits an inventory::submit! block per registered dispatcher.

Functions§

by_label
Look up a catalog entry by its dot-separated label.
registered
Iterate every catalog entry registered fleet-wide. Order is inventory-dependent (not deterministic) — sort by label if the consumer needs stable iteration.