1 2 3 4 5 6 7 8 9 10
use axum_macros::debug_handler; struct A; impl A { #[debug_handler] async fn handler() {} } fn main() {}