-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add AsyncWriteExt::write_all_vectored
#3679
Comments
This should wait for The implementation will probably also use on |
Is there any workaround? How could we manually use |
Manually? You can call it in a loop. |
Actually, no. Because if the first call doesn't finish the work, you can't write starting at the latest position in the second call. |
You have to update the slice to skip the bytes at the start. You can use |
|
In #3678 we added
AsyncWriteExt::write_vectored
. It would be nice to also provideAsyncWriteExt::write_all_vectored
that writes all the data similarly tostd::io::Write::write_all_vectored
.The text was updated successfully, but these errors were encountered: