tokio_core

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ยง

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