Expand description
Handler trait and function wrapper.
Structs§
- Handler
Fn - Wraps an async function (or closure) as a
Handler. - Logging
Handler - A handler that logs an error and continues the chain.
Traits§
- Handler
- Core trait for all update handlers.
Functions§
- handler_
fn - Creates a
BoxHandlerfrom any async function or closure.
Type Aliases§
- BoxHandler
- A boxed, type-erased handler.
- Handler
Future - Type alias for the boxed future returned by handlers.