rust/library/std/src/sys/wasi
Tomasz Miąsko defa245624 Implement read_buf for a few more types
Implement read_buf for TcpStream, Stdin, StdinLock, ChildStdout,
ChildStderr (and internally for AnonPipe, Handle, Socket), so
that it skips buffer initialization.

The other provided methods like read_to_string and read_to_end are
implemented in terms of read_buf and so benefit from the optimization
as well.

This commit also implements read_vectored and is_read_vectored where
applicable.
2023-03-06 12:24:15 +01:00
..
args.rs Auto merge of #84115 - CDirkx:rt, r=m-ou-se 2021-04-25 04:45:39 +00:00
env.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
fd.rs Implement read_buf for a few more types 2023-03-06 12:24:15 +01:00
fs.rs Implement read_buf for a few more types 2023-03-06 12:24:15 +01:00
io.rs Add IsTerminal trait to determine if a descriptor or handle is a terminal 2022-10-15 00:35:38 +01:00
mod.rs std: use a more efficient Once on platforms without threads 2022-12-14 13:55:30 +01:00
net.rs Implement read_buf for a few more types 2023-03-06 12:24:15 +01:00
os.rs Allow wasi-libc to initialize its environment variables lazily. 2023-02-09 19:03:42 -08:00
stdio.rs Consolidate AsFd instances for stdio types into library/std/src/os/fd/owned.rs 2022-10-10 14:47:22 +01:00
thread.rs wasi: update to wasi 0.11.0 2022-01-28 13:27:29 +01:00
time.rs Error instead of panicking when setting file times if the passed SystemTime doesn't fit into the required type 2022-10-01 03:22:55 +01:00