Expand description
Traits that make the Selector generic over asynchronous tasks and polling logic.
Unless you want to exercise the full flexibility of the selector, you don’t need to use these traits.
You can use plain FutureSelector and StreamSelector.
Structs§
- Poll
AsFuture - Marker trait that allows for a blanket implementation of
PollWithon allFutures. - Poll
AsStream - Marker trait that allows for a blanket implementation of
PollWithon allStreams.
Traits§
- Poll
Strategy - Determines the type of pollable task that can be stored in a
Selector. - Poll
With - Determines how the
Selectorpolls the tasks and interprets their outputs.