read_collection 0.1.5

A collection of different variants of the `std::io::Read` trait.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::fs::File;

mod buf_read_backer;
mod same_as_read;

fn get_file1() -> File {
    File::open("./tests/file/test_file1.txt").unwrap()
}

fn get_file2() -> File {
    File::open("./tests/file/test_file2.txt").unwrap()
}