reusable-box-future

Crates.ioreusable-box-future
lib.rsreusable-box-future
version0.2.0
sourcesrc
created_at2021-02-20 18:42:56.93395
updated_at2021-02-27 11:48:00.562939
descriptionA reusable `Pin + Send>>`
homepage
repositoryhttps://github.com/oblique/reusable-box-future
max_upload_size
id358119
size21,618
Alice Ryhl (Darksonn)

documentation

README

reusable-box-future

license crates.io docs

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.

License

MIT

Commit count: 14

cargo fmt