Expand description
Compile-time type-safe message handler infrastructure.
This module provides generic handler traits and types that enable type-safe message dispatch without runtime downcasting for built-in message types.
Structs§
- Callback
Handler - A callback-based handler implementation.
- Into
Callback Handler - A callback-based handler implementation that takes ownership.
- Typed
Handler - A shareable wrapper for typed handlers.
- Typed
Into Handler - A shareable wrapper for ownership-based typed handlers.
Traits§
- Handler
- Compile-time type-safe message handler trait.
- Into
Handler - Compile-time type-safe message handler trait that takes ownership.
Functions§
- shareable_
handler - Creates a new
ShareableMessageHandlerfrom anRc<dyn Handler<dyn Any>>.
Type Aliases§
- Shareable
Message Handler - Type alias for handlers that work with dynamically-typed messages.