Structsยง
- Select
With Strategy - Stream for the
select_with_strategy()
function. See function docs for details.
Enumsยง
- Internal
State ๐ - Poll
Next - Type to tell
SelectWithStrategy
which stream to poll next.
Functionsยง
- poll_
inner ๐ - poll_
side ๐ - select_
with_ strategy - This function will attempt to pull items from both streams. You provide a
closure to tell
SelectWithStrategy
which stream to poll. The closure can store state onSelectWithStrategy
to which it will receive a&mut
on every invocation. This allows basing the strategy on prior choices.