Module crossbeam_channel::select
source ยท Expand description
Interface to the select mechanism.
Structsยง
- Identifier associated with an operation by a specific thread on a specific channel.
- Selects from a set of channel operations.
- A selected operation that needs to be completed.
- Temporary data that gets initialized during select or a blocking operation, and is consumed by
read
orwrite
.
Enumsยง
- Current state of a select or a blocking operation.
- Timeout ๐Determines when a select operation should time out.
Traitsยง
- A receiver or a sender that can participate in select.
Functionsยง
- run_
ready ๐Runs until one of the operations becomes ready, potentially blocking the current thread. - run_
select ๐Runs until one of the operations is selected, potentially blocking the current thread. - Blocks until one of the operations becomes ready and selects it.
- select_
deadline ๐Blocks until a given deadline, or until one of the operations becomes ready and selects it. - Blocks for a limited time until one of the operations becomes ready and selects it.
- Attempts to select one of the operations without blocking.