std: remove RtioStream

This commit is contained in:
Jeff Olson 2013-09-17 08:01:44 -07:00
parent c0ec40f74b
commit 3067ee6373

View file

@ -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>;
}