Expand description
Generic handler registry providing thread-safe handler storage.
This module provides HandlerRegistry, a reusable building block for
storing and iterating over trait object handlers behind Arc.
§Architecture
The registry uses interior mutability via RwLock to allow
handler registration without requiring mutable access. This enables
sharing the registry across async boundaries and multiple components.
§Execution Model
Handlers are stored in registration order. The registry itself does not define execution semantics — callers iterate over handlers and decide how to dispatch them (fail-fast, best-effort, etc.).
Structs§
- Handler
Registry 🔒 - A thread-safe, ordered collection of handlers.