Module unix
Available on Unix and crate feature
net only.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_usestructure 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_usestructure to help ensure that you do not forget to explicitly clear (or not clear) the event. - Async
FdTry NewError - Error returned by
try_newortry_with_interest. - TryIo
Error - The error type returned by
try_io.
MIT License
Copyright © Tokio Contributors
https://docs.rs/tokio/1.53.1/tokio/io/unix/index.html