| Crates.io | yadon |
| lib.rs | yadon |
| version | 0.1.1 |
| created_at | 2021-09-19 03:51:06.351417+00 |
| updated_at | 2021-09-19 03:55:12.087491+00 |
| description | `Write + Seek` which stores operations and can later apply them to another `Write + Seek` |
| homepage | |
| repository | https://github.com/vivlim/yadon |
| max_upload_size | |
| id | 453474 |
| size | 57,880 |

why write now, when you can write later?
Yadon is a struct which implements Write + Seek but doesn't actually write anything until later, when you call .apply().
yes I was trying to push a generic write operation using binrw through a channel to be actually performed on another thread, and being able to store the result of the write operation meant I sidestepped some particularly hairy issues where I would have had to store trait objects which had an associated generic function - impossible since having that associated generic function made the entire trait not 'object safe'.