about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorVladimir Matveev <vladimir.matweev@gmail.com>2014-10-19 23:02:21 +0400
committerVladimir Matveev <vladimir.matweev@gmail.com>2014-11-05 12:01:23 +0300
commitd97bfb22f8c4958909c5669c256c50f124c17d58 (patch)
tree2b11aed8b0fe2c6157492cb2315f6549730106d6 /src/rustllvm/RustWrapper.cpp
parent4375b32dabf8096a1137a68c1070fc9a9292cb06 (diff)
downloadrust-d97bfb22f8c4958909c5669c256c50f124c17d58.tar.gz
rust-d97bfb22f8c4958909c5669c256c50f124c17d58.zip
Added ToSocketAddr trait
This commit adds ToSocketAddr trait to std::io::net::ip module. This
trait is used for generic conversion from different types (strings,
(string, u16) tuples, etc.) into a SocketAddr instance. It supports
multiple output SocketAddresses when it is appropriate (e.g. DNS name
resolution).

This trait is going to be used by TcpStream, TcpListener and UdpSocket
structures.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions