Expand description
API Gateway v2 handler trait and operation dispatch.
Uses manual Pin<Box<dyn Future>> return types because ApiGatewayV2Handler
requires object safety for dynamic dispatch (Arc<dyn ApiGatewayV2Handler>).
Structs§
- NotImplemented
Handler - Default handler that returns a “not implemented” error for all operations.
Traits§
- ApiGateway
V2Handler - The boundary between HTTP and business logic for API Gateway v2.
Functions§
- dispatch_
operation - Dispatch an API Gateway v2 operation to the handler.