Module 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§

PeekFuture
Future from StreamUnobtrusivePeeker::peek
PeekerProj 🔒
StreamUnobtrusivePeeker
Wraps [Stream] and provides \[poll_]peek and unobtrusive_peek