Expand description
Bridge between typed handlers and the runtime router.
BoundHandler<E> pairs a type-erased handler with its endpoint metadata.
The bind function captures the handler’s Args at the call site (where
type inference works) and erases them, leaving only the endpoint type E.
Structs§
- Bound
Handler - A handler bound to a specific endpoint type, with the handler’s arg types erased.
Traits§
- Bindable
Endpoint - Trait providing runtime endpoint metadata for binding.
Functions§
- bind
- Bind a handler to an endpoint type, erasing the handler’s arg types.