rust/library/std
Dylan DPC 654204f455
Rollup merge of #109022 - tmiasko:read-buf-exact, r=dtolnay
read_buf_exact: on error, all read bytes are appended to the buffer

Guarantee that when `read_buf_exact` returns, all bytes read will be
appended to the buffer. Including the case when the operations fails.

The motivating use case are operations on a non-blocking reader. When
`read_buf_exact` fails with `ErrorKind::WouldBlock` error, the operation
can be resumed at a later time.
2023-03-19 15:33:58 +05:30
..
benches mv std libs to library/ 2020-07-27 19:51:13 -05:00
primitive_docs Add primitive documentation to libcore 2021-09-12 02:23:08 +00:00
src Rollup merge of #109022 - tmiasko:read-buf-exact, r=dtolnay 2023-03-19 15:33:58 +05:30
tests Exclude SGX from create_dir_all_bare test 2023-02-21 18:33:20 +00:00
build.rs Add QNX Neutrino support to libstd 2023-02-28 15:59:47 +01:00
Cargo.toml Auto merge of #106673 - flba-eb:add_qnx_nto_stdlib, r=workingjubilee 2023-03-02 02:41:42 +00:00