Skip to content

Commit

Permalink
std: remove RtioStream
Browse files Browse the repository at this point in the history
  • Loading branch information
olsonjeffery committed Sep 17, 2013
1 parent c0ec40f commit 3067ee6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/libstd/rt/rtio.rs
Expand Up @@ -81,11 +81,6 @@ pub trait IoFactory {
Result<~[Path], IoError>;
}

pub trait RtioStream {
fn read(&mut self, buf: &mut [u8]) -> Result<uint, IoError>;
fn write(&mut self, buf: &[u8]) -> Result<(), IoError>;
}

pub trait RtioTcpListener : RtioSocket {
fn listen(self) -> Result<~RtioTcpAcceptorObject, IoError>;
}
Expand Down

4 comments on commit 3067ee6

@bors
Copy link
Contributor

@bors bors commented on 3067ee6 Sep 17, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at olsonjeffery@3067ee6

@bors
Copy link
Contributor

@bors bors commented on 3067ee6 Sep 17, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging olsonjeffery/rust/newrt_file_io_1 = 3067ee6 into auto

@bors
Copy link
Contributor

@bors bors commented on 3067ee6 Sep 17, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

olsonjeffery/rust/newrt_file_io_1 = 3067ee6 merged ok, testing candidate = 4f770d75

@bors
Copy link
Contributor

@bors bors commented on 3067ee6 Sep 17, 2013

Please sign in to comment.