| Crates.io | reusable-box-future |
| lib.rs | reusable-box-future |
| version | 0.2.0 |
| created_at | 2021-02-20 18:42:56.93395+00 |
| updated_at | 2021-02-27 11:48:00.562939+00 |
| description | A reusable `Pin |
| homepage | |
| repository | https://github.com/oblique/reusable-box-future |
| max_upload_size | |
| id | 358119 |
| size | 21,618 |
A reusable Pin<Box<dyn Future<Output = T> + Send>>.
This lets you replace the future stored in the box without reallocating when the size and alignment permits it.
This code was extracted from tokio-util crate.