tk-bufstream

Crates.iotk-bufstream
lib.rstk-bufstream
version0.3.0
sourcesrc
created_at2016-10-20 15:09:17.33359
updated_at2017-03-30 20:01:47.148687
description A buffered stream backed by contiguous buffers (netbuf) for tokio
homepagehttp://github.com/tailhook/tk-bufstream
repository
max_upload_size
id6915
size53,591
Paul Colomiets (tailhook)

documentation

http://docs.rs/tk-bufstream

README

============================================ Buffered Stream Abstraction for Tokio (Rust)

:Status: Alpha

Unlike in synchronous code, where buffered stream are very common, in async code buffers are usually put in some glue code (I guess it's called Transport in tokio-proto_).

This crate explores alternative idea of tying buffers (and some helpers for making transports) to IO Stream, which might make certain cases_ easier.

.. _tokio-proto: https://github.com/tokio-rs/tokio-proto .. _certain cases: https://github.com/popravich/minihttp/blob/333992f71b0abe31d2222345e64e6dbc07d60a2b/examples/sendfile.rs#L44-L46

License

Licensed under either of

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.

Commit count: 0

cargo fmt