pub fn current_request_id() -> Option<String>Expand description
The x-request-id installed by with_request_id, if any.
Returns None outside the task that with_request_id wraps — see its
docs for the tokio::spawn / spawn_blocking / streamed-body limitation.