http_types/trace/
mod.rs

1//! HTTP timings and traces.
2//!
3//! This module implements parsers and serializers for timing-related headers.
4//! These headers enable tracing and timing requests, and help answer the
5//! question of: _"Where is my program spending its time?"_
6//!
7//! # Specifications
8//!
9//! - [W3C Trace-Context header](https://w3c.github.io/trace-context/)
10//! - [W3C Server-Timing header](https://w3c.github.io/server-timing/#the-server-timing-header-field)
11
12pub mod server_timing;
13mod trace_context;
14
15#[doc(inline)]
16pub use server_timing::{Metric, ServerTiming};
17pub use trace_context::TraceContext;