https://github.com/twmb/futures-bufio
Buffered IO with futures on top of a threadpool for blocking IO
https://github.com/twmb/futures-bufio
Last synced: about 1 year ago
JSON representation
Buffered IO with futures on top of a threadpool for blocking IO
- Host: GitHub
- URL: https://github.com/twmb/futures-bufio
- Owner: twmb
- License: mit
- Created: 2017-09-04T03:15:20.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-04-27T19:04:31.000Z (about 4 years ago)
- Last Synced: 2025-04-11T21:19:30.436Z (about 1 year ago)
- Language: Rust
- Size: 23.4 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
futures-bufio
=============
[](https://travis-ci.org/twmb/futures-bufio) [](https://crates.io/crates/futures-bufio) [](https://docs.rs/futures-bufio/)
Buffered IO with futures on top of a threadpool for blocking IO. This crate is
primarily useful for readers or writers that cannot return EWOULDBLOCK, but may
block or sleep (i.e., file IO).
This uses the nightly only feature [`conservative_impl_trait`](https://doc.rust-lang.org/nightly/unstable-book/language-features/conservative-impl-trait.html)
to make the types on non-allocating futures understable.