about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-07-28 16:03:29 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-07-28 16:08:05 -0700
commit798ce502845435d94856a7b5fed5f703b06506d1 (patch)
tree52c3fe28b35e2853c436449a98e9355352db1cc5 /src/rustllvm/RustWrapper.cpp
parentba9224f35451e5d5ef7647bd2b40e5da80ce2735 (diff)
downloadrust-798ce502845435d94856a7b5fed5f703b06506d1.tar.gz
rust-798ce502845435d94856a7b5fed5f703b06506d1.zip
std: Deprecate extra TcpStream/UdpSocket methods
These methods are all covered by [RFC 1158] and are currently all available on
stable Rust via the [`net2` crate][net2] on crates.io. This commit does not
touch the timeout related functions as they're still waiting on `Duration` which
is unstable anyway, so punting in favor of the `net2` crate wouldn't buy much.

[RFC 1158]: https://github.com/rust-lang/rfcs/pull/1158
[net2]: http://crates.io/crates/net2

Specifically, this commit deprecates:

* TcpStream::set_nodelay
* TcpStream::set_keepalive
* UdpSocket::set_broadcast
* UdpSocket::set_multicast_loop
* UdpSocket::join_multicast
* UdpSocket::set_multicast_time_to_live
* UdpSocket::set_time_to_live
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions