Carl Lerche
0000210e0c
Add io::FramedIo
2016-09-08 23:25:17 -07:00
Alex Crichton
e60002b653
Tweak TaskIo wording and such
...
* Remove TaskIo
* task_split -> split
* TaskIoRead -> ReadHalf
* TaskIoWrite -> WriteHalf
Closes #18
2016-09-07 22:12:14 -07:00
Alex Crichton
6c045d31ac
Reorganize the entire crate:
...
Renamed APIs
* Loop => reactor::Core
* LoopHandle => reactor::Handle
* LoopPin => reactor::Pinned
* TcpStream => net::TcpStream
* TcpListener => net::TcpListener
* UdpSocket => net::UdpSocket
* Sender => channel::Sender
* Receiver => channel::Receiver
* Timeout => reactor::Timeout
* ReadinessStream => reactor::PollEvented
* All `LoopHandle` methods to construct objects are now free functions on the
associated types, e.g. `LoopHandle::tcp_listen` is now `TcpListener::bind`
* All APIs taking a `Handle` now take a `Handle` as the last argument
* All future-returning APIs now return concrete types instead of trait objects
Added APIs
* io::Io trait -- Read + Write + ability to poll
Removed without replacement:
* AddSource
* AddTimeout
* IoToken
* TimeoutToken
Closes #3
Closes #6
2016-09-07 22:12:14 -07:00
Corey Farwell
d7f76ca549
Add documentation links.
2016-09-07 21:19:34 -04:00
Alex Crichton
815dc803db
Merge pull request #19 from kamalmarhubi/read-exact-doc
...
docs: Fix copypasta in read_exact docs
2016-09-07 15:25:40 -07:00
Kamal Marhubi
abf4521300
docs: Fix copypasta in read_exact docs
2016-09-07 18:12:09 -04:00
Alex Crichton
3794cf7f1d
Update with Poll/Async changes
2016-09-02 12:17:38 -07:00
Alex Crichton
330ab823b0
Update to futures master
...
* Remove `LoopData` as it's no longer necessary
* Add `LoopHandle::spawn` to spawn new futures onto an event loop
* Add `LoopData::spawn` to also spawn new futures onto an event loop
* Rejigger the implementation of the event loop a bit (make a slab of futures),
but otherwise everything else is pretty constant.
2016-08-31 19:00:42 -07:00
Simon Bernier St-Pierre
32557cd832
fix typo in panic message
2016-08-26 21:47:50 -04:00
Alex Crichton
f107c8d860
Rename to tokio-core, add in futures-io
...
Renames the futures-mio crate to tokio-core, pulls in the futures-io crate under
an `io` module, and gets everything compiling.
2016-08-26 14:39:47 -07:00