#tokio #io #copy #buffer #copying #own #parameters

tokio-copy-with-buffer

tokio_io::io::copy that can take additional buffer parameter and also returns if back to you

1 unstable release

Uses old Rust 2015

0.1.0 Oct 9, 2017

#30 in #copying

MIT/Apache

6KB
78 lines

Customized variant of [tokio_io::io::copy function] where you can set your own buffer and retrieve it after copying. This may increase performance in some cases. [tokio_io::io::copy function]: https://docs.rs/tokio-io/0.1/tokio_io/io/fn.copy.html

Dependencies

~615KB
~11K SLoC