22 Commits

Author SHA1 Message Date
Brian Anderson
d45dc8df72 core::rt: More work on Reader extensions and error handling 2013-05-15 12:19:16 -07:00
Brian Anderson
28a13ec8d7 core::rt: Make push_bytes raise read_error on EOF 2013-05-15 12:19:16 -07:00
Brian Anderson
76e097761e core::rt: read raises read_error 2013-05-15 12:19:15 -07:00
Brian Anderson
b764d4cb4f core::rt: Begin implementing Reader extension methods 2013-05-15 12:19:15 -07:00
Brian Anderson
174ec1e422 core::rt: Error handling for TcpStream.read 2013-05-15 12:19:15 -07:00
Brian Anderson
93ca5ebccb core::rt: Clean up the interface to rtio
Make names that better match rt::io. Return error types.
2013-05-13 14:24:10 -07:00
Brian Anderson
b2fbd34603 core::rt: Begin implementing TcpStream
This ended up touching a lot of code related to error handling.
2013-05-13 14:24:10 -07:00
Brian Anderson
34be071353 core::rt: Remove Close trait
We will just use RAII for now.
2013-05-13 14:24:10 -07:00
Felix S. Klock II
1cbf0a84dc Step one for 'proper' pub condition: support pub keyword in form. 2013-05-06 19:05:36 +02:00
Brian Anderson
8081e8debf Register snapshots 2013-05-04 15:43:51 -07:00
Brian Anderson
c0e734d203 core::rt: Add more I/O docs 2013-04-23 23:52:56 -07:00
Brian Anderson
42c0f88232 core::rt: Add unwinding to newsched tasks 2013-04-22 17:15:31 -07:00
Brian Anderson
5fbb0949a5 core::rt: Add implementations of Reader, Writer, and Listener for Option
These will make it easier to write I/O code without worrying about errors
2013-04-22 15:08:47 -07:00
Brian Anderson
6644a034f0 core::rt: Move the definition of Listener to rt::io 2013-04-22 13:26:37 -07:00
Brian Anderson
4eff3130c5 core::rt:: Implement Reader/Writer for MemReader/MemWriter 2013-04-20 17:25:00 -07:00
Brian Anderson
6a5c4f68c2 core::rt: Just some poking at the I/O docs 2013-04-19 18:47:31 -07:00
Brian Anderson
e47ee779cd wip 2013-04-19 15:18:38 -07:00
Brian Anderson
7270fadfcc core::rt: Rename Closeable to Close, Seekable to Seek, blocking to native 2013-04-19 14:58:21 -07:00
Brian Anderson
e782e1f371 Tidy 2013-04-19 12:05:19 -07:00
Brian Anderson
c44d7a6486 core::rt: Declare large parts of the I/O API 2013-04-19 12:05:18 -07:00
Alex Crichton
fa7772893a Remove unused imports throughout 2013-03-26 19:20:02 -04:00
Brian Anderson
57e85b5f94 core: Add rt::io and start sketching the API 2013-03-18 16:59:37 -07:00