pub trait StreamTracingExt {
// Required method
fn stream_in_current_span(self) -> InstrumentedStream<Self>
where Self: Stream + Sized;
}
Required Methods§
Sourcefn stream_in_current_span(self) -> InstrumentedStream<Self>
fn stream_in_current_span(self) -> InstrumentedStream<Self>
All calls to poll the stream will be done in the context of the current span (when this method is called)