use Request;
use Next;
use Response;
task_local!
/// Middleware that scopes the per-request task-local `REQUEST_ID`, populated
/// from the inbound `x-request-id` header (set by `SetRequestIdLayer`).
/// `OrionError::IntoResponse` reads it to embed `error.request_id` in the
/// JSON body — clients no longer have to correlate body to header.
pub async