1 unstable release
Uses old Rust 2015
| 0.1.0 | Dec 15, 2015 |
|---|
#9 in #delegates
22,240 downloads per month
Used in 7 crates
4KB
Tee
A rustlang adapter for readers which delegate read bytes to a writer, adapted from the standard library's std::io::Read#tee which has since been deprecated.
api docs
rustdoc api documentation can be found here
examples
The currently unstable/deprecated std library function looks like this
let tee_reader = reader.tee(writer);
In broadcast this looks like
let tee_reader = tee::TeeReader::new(reader, writer);
Doug Tangren (softprops) 2015