(&mut self, _req: &Request<B>)
| 49 | |
| 50 | impl MakeRequestId for UuidRequestId { |
| 51 | fn make_request_id<B>(&mut self, _req: &Request<B>) -> Option<RequestId> { |
| 52 | let id = uuid::Uuid::new_v4().to_string(); |
| 53 | Some(RequestId::new(HeaderValue::from_str(&id).unwrap())) |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | /// Build a tracing span for an inbound request, recording the `request_id` |
no outgoing calls