Thanks to visit codestin.com
Credit goes to lib.rs

17 releases (6 stable)

1.2.1 Jul 20, 2025
1.2.0 Dec 31, 2021
1.1.1 Jan 22, 2021
1.0.1 Dec 23, 2020
0.1.2 Jul 24, 2017

#145 in Asynchronous

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

2,707,738 downloads per month
Used in 303 crates (6 directly)

MIT/Apache

21KB
486 lines

Tokio wrappers which apply timeouts to IO operations.

These timeouts are analogous to the read and write timeouts on traditional blocking sockets. A timeout countdown is initiated when a read/write operation returns Poll::Pending. If a read/write does not return successfully before the countdown expires, an io::Error with a kind of TimedOut is returned.


tokio-io-timeout

CircleCI

Documentation

Tokio wrappers which apply timeouts to IO operations.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~2–11MB
~86K SLoC