Skip to main content

Module diagnostics

Module diagnostics 

Source
Expand description

Compile-time route and handler diagnostics.

Structs§

RouteSnapshot
Snapshot of a registered HTTP route.

Functions§

format_route_diagnostics
Human-readable route/handler diagnostic report (no tracing dependency).
orphan_handlers
Request types registered via #[handler] without a matching route.
orphan_routes
Request types with a route but no registered handler.
route_snapshots
Collect all inventory routes and whether a matching #[handler] exists.