| Crates.io | timeout_io |
| lib.rs | timeout_io |
| version | 0.6.0 |
| created_at | 2018-08-17 00:25:46.344021+00 |
| updated_at | 2019-08-13 15:05:20.150278+00 |
| description | This library provides a simple timeout-based API for IO-operations |
| homepage | |
| repository | https://github.com/KizzyCode/timeout_io |
| max_upload_size | |
| id | 79862 |
| size | 1,089,054 |
This library provides a simple timeout-based API for IO-operations.
It provides the following features:
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 connect-calls; use
std::net::TcpStream::connect_timeout for TCP-connections or build sth. using io::libselect (and
feel free to commit if you do so 😇)