| Crates.io | flash-mockstream |
| lib.rs | flash-mockstream |
| version | 0.1.1 |
| created_at | 2018-09-07 17:54:26.668944+00 |
| updated_at | 2018-09-07 20:18:30.920212+00 |
| description | a mockstream for testing |
| homepage | |
| repository | https://github.com/oezgurakkurt/flash.git |
| max_upload_size | |
| id | 83479 |
| size | 5,411 |
A mockstream that implements std::io::Read, std::io::Write, tokio_io::AsyncRead and tokio_io::AsyncWrite.
It writes and reads from the same buffer so you can write from one end and read from other end;
See tests folder for examples.