Expand description
Structs§
- Dial9
Span Layer - A
tower::Layerthat wraps a service so each request’s response future is recorded as a span. - Dial9
Span Layer With Response - A
LayerlikeDial9SpanLayer, but whosemake_spanclosure also returns a finish callback for recording response-derived late fields. - Dial9
Span Service - The
Serviceproduced byDial9SpanLayer. Instruments eachcall’s future with a freshly-created span. - Dial9
Span Service With Response - The
Serviceproduced byDial9SpanLayerWithResponse. - OnResponse
- Runs a callback with the successful response the moment the inner future
resolves — before the enclosing
Instrumentedspan emits its completion event, so late fields set by the callback ride that event. Constructed byDial9SpanServiceWithResponse; not built directly.