mod registry#

module registry#

Global and scope-local middleware registration helpers. Middleware registry helpers for global and scope-local guardrails, intercepts, and subscribers.

Structs and Unions

struct ExecutionIntercept<F>#

A priority-ordered execution intercept registration entry.

priority: i32#

Lower values run earlier in the chain.

callable: F#

The caller-provided execution intercept callback.

struct GuardrailEntry<F>#

A priority-ordered guardrail registration entry.

priority: i32#

Lower values run earlier in the chain.

guardrail: F#

The caller-provided guardrail callback.

struct Intercept<F>#

A priority-ordered request intercept registration entry.

priority: i32#

Lower values run earlier in the chain.

break_chain: bool#

Whether this intercept stops later request intercepts after it returns.

callable: F#

The caller-provided intercept callback.