-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Doc: std::io::Write::write_all
should mention ErrorKind::Interrupted
#38494
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
Comments
tbu-
added a commit
to tbu-/rust
that referenced
this issue
Apr 21, 2017
Also spell out that read and write operations should be retried on `ErrorKind::Interrupted` errors. Fixes rust-lang#38494.
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this issue
Apr 25, 2017
Specify behavior of `write_all` for `ErrorKind::Interrupted` errors Also spell out that read and write operations should be retried on `ErrorKind::Interrupted` errors. Fixes rust-lang#38494.
arielb1
pushed a commit
to arielb1/rust
that referenced
this issue
Apr 25, 2017
Specify behavior of `write_all` for `ErrorKind::Interrupted` errors Also spell out that read and write operations should be retried on `ErrorKind::Interrupted` errors. Fixes rust-lang#38494.
arielb1
pushed a commit
to arielb1/rust
that referenced
this issue
Apr 25, 2017
Specify behavior of `write_all` for `ErrorKind::Interrupted` errors Also spell out that read and write operations should be retried on `ErrorKind::Interrupted` errors. Fixes rust-lang#38494.
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this issue
Apr 26, 2017
Specify behavior of `write_all` for `ErrorKind::Interrupted` errors Also spell out that read and write operations should be retried on `ErrorKind::Interrupted` errors. Fixes rust-lang#38494.
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
Just like
std::io::Read::read_to_end
mentions thatInterruped
errors are safe to ignore,std::io::Write::write_all
should mention thatwrite
too can safely return this error without interruptingwrite_all
.Actually, both
std::io::Read::read
andstd::io::Write::write
could also probably mention this part.The text was updated successfully, but these errors were encountered: