Module reactor

Source
Expand description

The core reactor driving all I/O

This module contains the Core type which is the reactor for all I/O happening in tokio-core. This reactor (or event loop) is used to run futures, schedule tasks, issue I/O requests, etc.

Structsยง

Core
An event loop.
CoreId
An unique ID for a Core
Handle
A non-sendable handle to an event loop, typically passed into functions that create I/O objects to bind them to this event loop.
Interval
A stream representing notifications at fixed interval
PollEvented
A concrete implementation of a stream of readiness notifications for I/O objects that originates from an event loop.
Remote
Handle to an event loop, used to construct I/O objects, send messages, and otherwise interact indirectly with the event loop itself.
Timeout
A future representing the notification that a timeout has occurred.