diff options
| author | Linus Unnebäck <linus@folkdatorn.se> | 2019-03-16 11:19:01 +0000 |
|---|---|---|
| committer | Linus Unnebäck <linus@folkdatorn.se> | 2019-03-16 11:20:11 +0000 |
| commit | 214110bb4c7902e4787612efc265e4b2bdf0c1df (patch) | |
| tree | 30080405a1aede2ced2dd266d9a2658b4669bae5 /src | |
| parent | 7e73cd48c4d531d8c3048941b4436833ec8651e7 (diff) | |
| download | rust-214110bb4c7902e4787612efc265e4b2bdf0c1df.tar.gz rust-214110bb4c7902e4787612efc265e4b2bdf0c1df.zip | |
Add UdpSocket peer_addr implementation for L4Re
Diffstat (limited to 'src')
| -rw-r--r-- | src/libstd/sys/unix/l4re.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libstd/sys/unix/l4re.rs b/src/libstd/sys/unix/l4re.rs index b9e725371a3..b3dd1cf6aaa 100644 --- a/src/libstd/sys/unix/l4re.rs +++ b/src/libstd/sys/unix/l4re.rs @@ -292,6 +292,10 @@ pub mod net { pub fn into_socket(self) -> Socket { self.inner } + pub fn peer_addr(&self) -> io::Result<SocketAddr> { + unimpl!(); + } + pub fn socket_addr(&self) -> io::Result<SocketAddr> { unimpl!(); } @@ -463,4 +467,3 @@ pub mod net { } } } - |
