Expand description
Framework-specific integrations
This module contains trait implementations for different web frameworks. Each integration is gated behind a feature flag to avoid unnecessary dependencies.
Structsยง
- ApiResult
Layer - Actix-web middleware layer that auto-injects
trace_id(and optionallytimestamp) intoApiResultresponses. - ApiResult
Middleware - The actual middleware service that processes each request.
- ApiResult
Middleware Config - Configuration for the
ApiResultLayermiddleware. - ApiTrace
Id - Internal extension that carries the trace ID through the request lifecycle.