Module tor_async_utils::stream_peek

source ·
Expand description

StreamUnobtrusivePeeker

The memory tracker needs a way to look at the next item of a stream (if there is one, or there can immediately be one), without getting involved with the async tasks.

Structs§