k-nasa
43f4f393af
fix missing export for the return value
2019-12-17 22:48:14 +09:00
Yoshua Wuyts
61eb52cb36
Merge pull request #625 from nbdd0121/sync_unsized
...
Use ?Sized in Mutex and RwLock
2019-12-16 12:01:45 +01:00
Yoshua Wuyts
6f4dcad6a0
Merge pull request #630 from async-rs/fix-ci-2
...
fix ci
2019-12-16 11:41:07 +01:00
Yoshua Wuyts
60de8e1082
up time limits
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-12-16 11:29:21 +01:00
Yoshua Wuyts
cac4e081cc
Merge pull request #628 from fenhl/patch-1
...
Make WriteFmtFuture must_use
2019-12-16 11:22:30 +01:00
Yoshua Wuyts
8ad1d23116
fix ci
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-12-16 10:43:19 +01:00
Yoshua Wuyts
c70552ead5
unpub double_ended_stream
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-12-16 09:37:14 +01:00
Fenhl
07eb2c1280
Make WriteFmtFuture must_use
...
Fixes #627 . Thanks to @jebrosen for pointing out the location of the issue.
2019-12-14 17:43:22 +00:00
Gary Guo
732ef10f98
Make code compile
2019-12-14 23:42:14 +08:00
Gary Guo
499a44ab3b
Use ?Sized in Mutex and RwLock
2019-12-14 23:34:55 +08:00
Yoshua Wuyts
761029cd08
fix stream doc hiccup
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-12-13 15:28:43 +01:00
Yoshua Wuyts
83a488b290
Merge pull request #597 from k-nasa/fix_doc_test
...
Fix failed doc test and enable doc test on CI
2019-12-13 15:03:22 +01:00
Yoshua Wuyts
96d6fc43d6
Merge pull request #618 from twittner/poll_close_shutdown
...
TcpStream: Shutdown write direction in poll_close.
2019-12-13 09:32:48 +01:00
Felipe Sere
182fe6896f
No need for a custom impl for FromIter for DoubleEndedStream
2019-12-12 20:52:38 +01:00
Felipe Sere
b0038e11be
Only implement the DoubleEndedStream for once when the flag is on
2019-12-12 20:26:38 +01:00
Felipe Sere
8e5dedec34
Restructure package. No longer use a extension trait to match std.
...
Still outstanding: How do I hide the concrete structs from the trait?
2019-12-12 20:26:38 +01:00
Felipe Sere
41cf0f855b
Make Once a DoubleEndedStream
2019-12-12 20:26:38 +01:00
Felipe Sere
f9a4c35fd6
Silence warning about missing docs for the double_ended module
2019-12-12 20:26:38 +01:00
Felipe Sere
6e8236d0e1
Document from_iter for DoubleEndedStream
2019-12-12 20:26:38 +01:00
Felipe Sere
892c6008c2
Replace sample with a hidden from_iter implementation for double-ended-stream
2019-12-12 20:26:38 +01:00
Felipe Sere
abd360893c
Disable docs and Debug for unexposed structs
2019-12-12 20:26:38 +01:00
Felipe Sere
94893d2924
Move more of the documentation
2019-12-12 20:26:38 +01:00
Felipe Sere
02aa2f3d2a
Fix next_back
2019-12-12 20:26:38 +01:00
Felipe Sere
ee2f52f3ce
Add next_back
2019-12-12 20:26:38 +01:00
Felipe Sere
55194edbf7
Add try_rfold
2019-12-12 20:26:38 +01:00
Felipe Sere
c4b9a7f680
Add samples for some of the functions
2019-12-12 20:26:38 +01:00
Felipe Sere
aabfefd015
Add a sample implementation of a double ended stream
2019-12-12 20:26:38 +01:00
Felipe Sere
cc493df433
Sketch out rfold
2019-12-12 20:26:38 +01:00
Felipe Sere
78bafbb88f
Sketch outch rfind
2019-12-12 20:26:38 +01:00
Felipe Sere
d0ef48c753
Sketch out nth_back
2019-12-12 20:26:38 +01:00
Felipe Sere
fa288931c6
Skeleton for DoubleEndedStreamExt trait
2019-12-12 20:26:38 +01:00
Toralf Wittner
c90732a805
TcpStream: Shutdown write direction in poll_close.
...
Fixes #599 .
2019-12-12 17:37:38 +01:00
Yoshua Wuyts
a0f3b3b753
Remove unused macros ( #610 )
...
* replace async-macros with internals only
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* clean up MaybeDone
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* inline futures_core::ready
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* remove big commented blob
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-12-11 12:49:22 +01:00
Tomasz Miąsko
f06ab9fbc4
Remove mention of task stack size configuration ( #612 )
2019-12-11 12:36:50 +01:00
Bryant Luk
fd86effb63
Change recv_from to recv in UdpSocket::recv doc
2019-12-02 13:04:19 -06:00
nasa
128a6bc6ce
Merge pull request #598 from povilasb/fix/docs
...
Fix a link in the docs
2019-11-30 12:48:10 +09:00
Yoshua Wuyts
d51a135015
Merge pull request #309 from async-rs/stream-delay
...
Stream::delay
2019-11-30 11:25:41 +09:00
Povilas Balciunas
81e3c41826
Fix a link in the docs
2019-11-29 11:52:54 +13:00
k-nasa
fb1fb6c903
test: Test the delay time
2019-11-28 22:53:24 +09:00
k-nasa
fe04cf26b6
test: fix stream::throttle doc test
2019-11-28 16:16:39 +09:00
k-nasa
556d7992ce
test: fix failed doc test
2019-11-28 15:57:22 +09:00
k-nasa
da965e9ba4
fix indent
2019-11-28 15:54:13 +09:00
k-nasa
9f7c1833dc
fix module
2019-11-28 10:37:04 +09:00
Yoshua Wuyts
68005661d9
fix Stream::throttle hot loop ( #584 )
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-27 15:47:27 +01:00
nasa
794e331761
Refactor join type ( #577 )
...
* refactor: update future join type
* test: update future join test
* update future::try_join
2019-11-27 13:38:38 +01:00
k-nasa
32765ece41
test: Add stream::delay test code
2019-11-27 14:26:25 +09:00
k-nasa
635c592950
feat: Add stream::delay
2019-11-27 14:26:04 +09:00
k-nasa
3b055f364e
Merge branch 'master' into stream-delay
2019-11-27 13:50:05 +09:00
Yoshua Wuyts
46cafffc31
Merge pull request #571 from killercup/more-errors
...
Add context to more errors
2019-11-27 01:54:27 +01:00
boats
0f30ab8c0a
Fix the docs and Debug output of BufWriter. ( #588 )
...
The BufWriter docs inaccurately stated that it flushes on drop, which it does
not do. This PR changes the docs, as well as the example, to highlight that
the user must explicitly flush a bufwriter.
There were also two places where the BufWriter code referred to it as a
BufReader: in the link to the std docs, and in the Debug output. Those have
also been fixed.
2019-11-26 14:23:10 +01:00