Module calloop::io

source ยท
Expand description

Adapters for async IO objects

This module mainly hosts the Async adapter for making IO objects async with readiness monitoring backed by an EventLoop. See LoopHandle::adapt_io for how to create them.

Structsยง

  • Adapter for async IO manipulations
  • IoDispatcher ๐Ÿ”’
  • A future that resolves once the associated object becomes ready for reading
  • A future that resolves once the associated object becomes ready for writing

Traitsยง

Functionsยง

  • set_nonblocking ๐Ÿ”’
    Set the nonblocking status of an FD and return whether it was nonblocking before.