Module handler

Module handler 

Source

Structs§

BoxedHandler
Type-erased handler for storing in collections.
FnHandler
A function handler that wraps an async function.

Traits§

Handler
A handler that can process HTTP requests.
IntoHandler
Trait for converting various function types into handlers.

Functions§

from_legacy_handler
Convert the legacy HandlerFn type to a BoxedHandler.
handler
Create an optimized handler from a function.

Type Aliases§

LegacyHandlerFn
Legacy handler function type alias.
OptimizedHandlerFn
Optimized handler type alias for the routing system.