Polls multiple futures and streams simultaneously, executing the branch
for the future that finishes first. If multiple futures are ready,
one will be pseudo-randomly selected at runtime. Futures directly
passed to select! must be Unpin and implement FusedFuture.
Polls multiple futures and streams simultaneously, executing the branch
for the future that finishes first. Unlike select!, if multiple futures are ready,
one will be selected in order of declaration. Futures directly
passed to select_biased! must be Unpin and implement FusedFuture.
Combines several streams, all producing the same Item type, into one stream.
This is similar to select_all but does not require the streams to all be the same type.
It also keeps the streams inline, and does not require Box<dyn Stream>s to be allocated.
Streams passed to this macro must be Unpin.