Expand description
Process-wide services shared by every plugin instance.
SharedState owns one PluginResources for the process lifetime and
threads it through compile_policy → create_plugin → each plugin’s
from_config, so plugins can hold handles to shared infrastructure
(metrics registry, outbound HTTP client, consumer store, rate-limit
counter backends) instead of constructing their own per node or — worse —
per request.
Structs§
- Plugin
Resources - Handle to process-wide services, injected into plugins at construction.