Available on Unix and crate feature
net
only.Expand description
Asynchronous IO structures specific to Unix-like operating systems.
Structsยง
- AsyncFd
- Associates an IO object backed by a Unix file descriptor with the tokio
reactor, allowing for readiness to be polled. The file descriptor must be of
a type that can be used with the OS polling facilities (ie,
poll
,epoll
,kqueue
, etc), such as a network socket or pipe, and the file descriptor must have the nonblocking mode set to true. - Async
FdReady Guard - Represents an IO-ready event detected on a particular file descriptor that
has not yet been acknowledged. This is a
must_use
structure to help ensure that you do not forget to explicitly clear (or not clear) the event. - Async
FdReady MutGuard - Represents an IO-ready event detected on a particular file descriptor that
has not yet been acknowledged. This is a
must_use
structure to help ensure that you do not forget to explicitly clear (or not clear) the event. - Async
FdTry NewError - Error returned by
try_new
ortry_with_interest
. - TryIo
Error - The error type returned by
try_io
.