2 unstable releases
0.2.0 | Feb 27, 2021 |
---|---|
0.1.0 | Feb 20, 2021 |
#918 in Asynchronous
12,611 downloads per month
Used in 22 crates
(4 directly)
20KB
354 lines
reusable-box-future
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
lib.rs
:
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.