Steven Fackler
fbcdd6b547
Rustfmt
2016-09-12 21:50:21 -07:00
Steven Fackler
62cac49e8d
Make notification iterators fallible
2016-09-12 21:34:03 -07:00
Steven Fackler
96943d7e10
Switch over to protocol backend parser
...
We still have to keep our owned Backend enum around since SEME doesn't
work :'(
2016-09-11 21:27:13 -07:00
Steven Fackler
da8707a316
Drop Message suffix
2016-04-04 22:35:45 -07:00
Steven Fackler
5b54a6910b
Clean up stuff pointed out by clippy
2016-02-20 15:06:15 -08:00
Steven Fackler
487cbaf9c2
Add better size hints for notification iterators
2015-12-28 17:13:45 -07:00
Steven Fackler
0e1fa26b48
Add desync check to notifications iter
2015-12-28 17:07:18 -07:00
Steven Fackler
91493f2051
Implement size_hint for BlockingIter
...
Unlike the other two iterators, this will never return None
2015-12-27 12:59:21 -07:00
Steven Fackler
bb837bd872
Make the default notifications iterator read nonblocking
...
It is always super confusing as to when a notification that's been sent
to the client will actually show up in the old version of this iterator,
so it's best to have it see if there's anything waiting in the TCP
buffer.
Closes #149
2015-12-27 10:15:49 -07:00
Steven Fackler
4f37625cd6
Shorten error variant names
...
No reason to repeat Error
2015-12-25 20:14:09 -07:00
Steven Fackler
fc8ab87797
Cleanup
2015-12-15 23:30:50 -08:00
Steven Fackler
67bace6fc0
Rustfmt
2015-11-15 19:54:01 -08:00
Steven Fackler
b6b19083de
Typo
2015-10-20 23:18:13 -07:00
Steven Fackler
049e37bf26
Note notification pickup caveat for nonblocking iterator
2015-10-20 23:15:59 -07:00
Steven Fackler
01153f784a
Add a notifications iterator that waits with a timeout
...
Closes #105
2015-10-20 23:13:45 -07:00
Steven Fackler
bf021bb475
Move desync check back a bit
2015-09-19 11:02:10 -07:00
Steven Fackler
e7d4a7e062
Drop dependency on debug builders
2015-09-18 22:55:32 -07:00
Steven Fackler
a2609f6c90
Refactor notification API
2015-09-18 22:51:11 -07:00
Steven Fackler
008f14b459
Move notification stuff to its own module
2015-09-18 20:55:01 -07:00