2 unstable releases
0.2.0 | Feb 27, 2021 |
---|---|
0.1.0 | Feb 20, 2021 |
#678 in Asynchronous
11,121 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.