-
Notifications
You must be signed in to change notification settings - Fork 211
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
honor ErrorKind::Interrupted
in write_all()
?
#611
Comments
Interesting question. |
So perhaps another option is to make |
That sounds like a really good idea. Should we then also remove |
probably, yes... |
Currently in
write_all()
(https://github.com/rust-embedded/embedded-hal/blob/master/embedded-io-async/src/lib.rs#L134) we do not retry if the return error haskind() == ErrorKind::Interrupted
. This is different thanstd
: https://doc.rust-lang.org/src/std/io/mod.rs.html#1696-1708.Should
ErrorKind::Interrupted
lead to a silent retry inwrite_all()
?The text was updated successfully, but these errors were encountered: