diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-02-07 10:37:58 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-02-16 18:46:01 -0800 |
| commit | a526aa139ec1c95cbad4c1d3187c437eb45d4bae (patch) | |
| tree | 6a0092a8ac88e5842f00b74df7314faa9074de04 /src/libstd/rt | |
| parent | 94b2d9dc4dd864b481bcf279921bc7ea796355e5 (diff) | |
| download | rust-a526aa139ec1c95cbad4c1d3187c437eb45d4bae.tar.gz rust-a526aa139ec1c95cbad4c1d3187c437eb45d4bae.zip | |
Implement named pipes for windows, touch up unix
* Implementation of pipe_win32 filled out for libnative * Reorganize pipes to be clone-able * Fix a few file descriptor leaks on error * Factor out some common code into shared functions * Make use of the if_ok!() macro for less indentation Closes #11201
Diffstat (limited to 'src/libstd/rt')
| -rw-r--r-- | src/libstd/rt/rtio.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libstd/rt/rtio.rs b/src/libstd/rt/rtio.rs index 578ace2ba86..5573f8ec02e 100644 --- a/src/libstd/rt/rtio.rs +++ b/src/libstd/rt/rtio.rs @@ -260,11 +260,6 @@ pub trait RtioPipe { fn clone(&self) -> ~RtioPipe; } -pub trait RtioDatagramPipe : RtioPipe { - fn recvfrom(&mut self, buf: &mut [u8]) -> Result<(uint, CString), IoError>; - fn sendto(&mut self, buf: &[u8], dst: &CString) -> Result<(), IoError>; -} - pub trait RtioUnixListener { fn listen(~self) -> Result<~RtioUnixAcceptor, IoError>; } |
