rust/src/libstd/io
Alex Crichton 6328f7c199 std: Add timeouts to unix connect/accept
This adds support for connecting to a unix socket with a timeout (a named pipe
on windows), and accepting a connection with a timeout. The goal is to bring
unix pipes/named sockets back in line with TCP support for timeouts.

Similarly to the TCP sockets, all methods are marked #[experimental] due to
uncertainty about the type of the timeout argument.

This internally involved a good bit of refactoring to share as much code as
possible between TCP servers and pipe servers, but the core implementation did
not change drastically as part of this commit.

cc #13523
2014-04-24 16:24:09 -07:00
..
net std: Add timeouts to unix connect/accept 2014-04-24 16:24:09 -07:00
buffered.rs Replace all ~"" with "".to_owned() 2014-04-18 17:25:34 -07:00
comm_adapters.rs Replace all ~"" with "".to_owned() 2014-04-18 17:25:34 -07:00
extensions.rs std: Make ~[T] no longer a growable vector 2014-04-18 10:06:24 -07:00
flate.rs Remove eof() from io::Reader 2014-01-09 09:27:10 -08:00
fs.rs fix O(n^2) perf bug for std::io::fs::walk_dir 2014-04-24 10:34:13 -07:00
mem.rs Replace all ~"" with "".to_owned() 2014-04-18 17:25:34 -07:00
mod.rs std: Add an experimental connect_timeout function 2014-04-19 00:47:14 -07:00
pipe.rs Use new attribute syntax in python files in src/etc too (#13478) 2014-04-14 21:00:31 +05:30
process.rs Replace all ~"" with "".to_owned() 2014-04-18 17:25:34 -07:00
result.rs De-~[] Mem{Reader,Writer} 2014-04-06 15:40:01 -07:00
signal.rs std: Make ~[T] no longer a growable vector 2014-04-18 10:06:24 -07:00
stdio.rs Fixed Win64 build 2014-04-22 18:08:06 -07:00
tempfile.rs std: Switch field privacy as necessary 2014-03-31 15:17:12 -07:00
test.rs rustc: Don't allow priv use to shadow pub use 2014-04-10 15:22:01 -07:00
timer.rs std: Make std::comm return types consistent 2014-04-10 21:41:19 -07:00
util.rs De-~[] IO utils 2014-04-06 15:40:01 -07:00