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

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

Traitsยง

IoLoopInner ๐Ÿ”’

Functionsยง

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