You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
asyncfnfoo(){for future in futures_unordered.iter_mut(){do_something_async().await;}}
This, unfortunately, makes the future returned by foo non-Send because the IterMut exists across an await boundary. Is it possible to fix this and have IterMut implement Send?
The text was updated successfully, but these errors were encountered:
I'm trying to write code that looks like this:
This, unfortunately, makes the future returned by
foo
non-Send
because theIterMut
exists across anawait
boundary. Is it possible to fix this and haveIterMut
implementSend
?The text was updated successfully, but these errors were encountered: