vec_storage_reuse
Provides an API to reuse a Vec's allocation.
This is useful to achieve zero-alloc when storing data with short lifetimes in a Vec:
let mut objects_storage: = new;
while let Some = stream.next // byte_chunk lifetime ends
Credits:
This crate delegates the actual unsafe functionality to the recycle_vec crate, and just provides
an interface that abstracts the swapping with the container through Drop, so that one can never
forget to swap back the temporary object with the storage