Re:Rust 1.64.0
by minraws on Thursday September 22, 2022 @05:12PM
(#32944695)
That's not quite the best example as someone else noted, you could better of write an API where converting to Future can be a shore of in places where await may work in the Future.
Say, `for await x in connection.item {}` not real syntax but something similar might be in Rust's future.
Say, `for await x in connection.item {}` not real syntax but something similar might be in Rust's future.