Modules§
Macros§
- next
- A macro to simplify the next middleware call in the middleware chain.
It takes the current context and the next middleware in the chain,
and returns a
Result
with the response of the next middleware. This macro is used to avoid boilerplate code in middleware implementations. It is used in thehandle
method of theMiddleware
trait.