mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-16 00:00:12 +02:00
The core trait and associated types no longer require the `'static` bounds, and all associated methods have also had the `'static` bounds removed. The only location for the `'static` bound is `forget`. While the restriction of `'static` on `forget` is here to stay, we'll soon enable `Loop::run` to take a non-`'static` future, allowing driving a non-`'static` future.