This library provides a simple timeout-based API for IO-operations.
It provides the following features:
- DNS-resolution (currently uses a background-thread)
All functions are defined as traits, so that you can easily wrap your own IO-channels without breaking compatibility.
Note: We currently do not provide a function for timeout-based
std::net::TcpStream::connect_timeout for TCP-connections or build sth. using
(and feel free to commit if you do so 😇)
A struct describing null or more IO-events
A set of multiple
A trait for accepting elements, e.g. a TCP-listener
A trait for elements which contain a DNS-resolvable address
A trait for elements which can be parsed to an IP-address
A wrapper-trait that unifies the
A trait for reading with timeouts
This trait defines an API to wait for an event
A trait for writing with timeouts