Function ptproxy::utils::drain_stream

source ·
pub async fn drain_stream<S: Stream + Unpin>(stream: &mut S)
Expand description

a future that polls an Unpin stream, discarding all items, until it terminates.