Skip to content

Commit 3067ee6

Browse files
committed
std: remove RtioStream
1 parent c0ec40f commit 3067ee6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/libstd/rt/rtio.rs

-5
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,6 @@ pub trait IoFactory {
8181
Result<~[Path], IoError>;
8282
}
8383

84-
pub trait RtioStream {
85-
fn read(&mut self, buf: &mut [u8]) -> Result<uint, IoError>;
86-
fn write(&mut self, buf: &[u8]) -> Result<(), IoError>;
87-
}
88-
8984
pub trait RtioTcpListener : RtioSocket {
9085
fn listen(self) -> Result<~RtioTcpAcceptorObject, IoError>;
9186
}

0 commit comments

Comments
 (0)