rust/library/std/src/net
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
..
ip_addr Move IpAddr and SocketAddr to core 2023-02-26 13:50:08 +01:00
socket_addr Remove unnecessary &format! 2023-01-21 22:06:42 -05:00
tcp Implement read_buf for a few more types 2023-03-06 12:24:15 +01:00
udp Add QNX Neutrino support to libstd 2023-02-28 15:59:47 +01:00
ip_addr.rs Move IpAddr and SocketAddr to core 2023-02-26 13:50:08 +01:00
mod.rs Move IpAddr and SocketAddr to core 2023-02-26 13:50:08 +01:00
socket_addr.rs Move IpAddr and SocketAddr to core 2023-02-26 13:50:08 +01:00
tcp.rs Implement read_buf for a few more types 2023-03-06 12:24:15 +01:00
test.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
udp.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00