about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-04-18 13:23:56 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-04-19 00:47:14 -0700
commit3915e17cd70e2d584726364851d368badb8bf15b (patch)
tree4b3b57fa402272ff03274a93251393c8d3a6b2fc /src/rustllvm/ExecutionEngineWrapper.cpp
parent9d5082e88a11f1daf66f062eb061efcee54718a0 (diff)
downloadrust-3915e17cd70e2d584726364851d368badb8bf15b.tar.gz
rust-3915e17cd70e2d584726364851d368badb8bf15b.zip
std: Add an experimental connect_timeout function
This adds a `TcpStream::connect_timeout` function in order to assist opening
connections with a timeout (cc #13523). There isn't really much design space for
this specific operation (unlike timing out normal blocking reads/writes), so I
am fairly confident that this is the correct interface for this function.

The function is marked #[experimental] because it takes a u64 timeout argument,
and the u64 type is likely to change in the future.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions