Expand description
Scheduler implementations and their I/O selectors.
Modules§
- selector
- Native I/O selectors. Platform modules select the OS mechanism at compile
time; Tokio supplies a separate runtime adapter in
scheduler::tokio. - socketry
- Socketry’s work-stealing executor and scheduler context.
Structs§
- Scheduler
- A futures executor with worker queues, remote inboxes and idle work stealing.
- Scheduler
Handle - A clonable, thread-safe reference for submitting work to a scheduler. Handles do not keep worker threads running after the owning Scheduler closes.
Enums§
- Interest
- A socket readiness condition. Readiness can be spurious; retry nonblocking
operations and wait again when they return
WouldBlock.
Traits§
- Clock
- A runtime’s monotonic sleep facility.
- FileIo
- Positioned file operations. A regular file does not support a universal readiness fallback, so implementations use native completion or a blocking pool. Use ordinary files opened without append mode, not pipes. Offsets must fit in i64. The Unix implementation leaves the shared cursor unchanged; the Windows blocking fallback updates it, as std’s seek_read/seek_write do.
- Network
- Portable socket operations, selected through the concrete implementation.
Type Aliases§
- Buffer
Result - An operation result together with its reusable, owned buffer.