macro_rules! torch_handler {
(
$method:ident $path:literal => |$($param:ident: $param_type:ty),*| $body:expr
) => { ... };
}
Expand description
Macro for generating type-safe route handlers
macro_rules! torch_handler {
(
$method:ident $path:literal => |$($param:ident: $param_type:ty),*| $body:expr
) => { ... };
}
Macro for generating type-safe route handlers