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§
- Runs until one of the operations becomes ready, potentially blocking the current thread.
- Runs until one of the operations is selected, potentially blocking the current thread.
- Blocks until one of the operations becomes ready and selects it.
- 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.