Matthias Einwag
871338c3ae
Merging master
2019-02-12 22:46:14 -08:00
Alexander Regueiro
99ed06eb88
libs: doc comments
2019-02-10 23:57:25 +00:00
Matthias Einwag
363e992b98
review suggestions
2019-02-05 01:30:00 -08:00
Matthias Einwag
e1ec81459d
Apply more review suggestions
2019-02-05 01:14:09 -08:00
Matthias Einwag
d9a4b22d32
Update the future/task API
...
This change updates the future and task API as discussed in the stabilization RFC at https://github.com/rust-lang/rfcs/pull/2592 .
Changes:
- Replacing UnsafeWake with RawWaker and RawWakerVtable
- Removal of LocalWaker
- Removal of Arc-based Wake trait
2019-02-03 13:46:53 -08:00
Taiki Endo
6d442938e0
Add #[must_use] message to Iterator and Future
2019-01-13 02:57:27 +09:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
Taylor Cramer
20d694a95f
Update Pin API to match the one proposed for stabilization
...
Remove pin::Unpin reexport and add Unpin to the prelude.
Change Pin associated functions to methods.
Rename get_mut_unchecked_ to get_unchecked_mut
Remove impl Unpin for Pin
Mark Pin repr(transparent)
2018-12-21 20:41:24 -08:00
Felix Chapman
ecc4ca54a4
Add #[must_use] attribute to stdlib traits
2018-12-10 14:45:26 +00:00
Bruce Mitchener
9b4d68e53b
Fix documentation typos.
2018-11-10 19:31:49 +07:00
Taylor Cramer
1b00f0b9fa
Remove spawning from task::Context
2018-09-19 15:01:19 -07:00
Taylor Cramer
3ec1810e32
Cleanup and fix method resolution issue
2018-09-17 16:31:33 -07:00
Without Boats
974bdc80fe
Update to a new pinning API.
2018-09-01 06:57:58 +02:00
Niv Kaminer
13da951868
move PinMut into pin module and export through std
2018-08-23 01:37:03 +03:00
Matthias Krüger
71120ef1e5
Fix typos found by codespell.
2018-08-19 17:41:28 +02:00
Taylor Cramer
cbbcecbee0
Implement Unpin for FutureObj and LocalFutureObj
2018-07-30 09:42:34 -07:00
Josef Reinhard Brandl
ae408947de
Implement UnsafeFutureObj for &mut Future
2018-07-02 19:07:59 +02:00
Josef Reinhard Brandl
5fde8b9237
Remove unnecessary PhantomData field
2018-07-02 18:57:58 +02:00
Josef Reinhard Brandl
cb2c7570db
Add explanation for custom trait object
2018-07-02 18:55:42 +02:00
Josef Reinhard Brandl
9eee0d2288
Fix naming convention issue
2018-07-02 18:16:36 +02:00
Josef Reinhard Brandl
dd3b0337ff
Improve doc comments for FutureObj
2018-07-02 13:59:40 +02:00
Josef Reinhard Brandl
042928f0f5
UnsafeFutureObj impl for PinMut
2018-07-02 13:59:40 +02:00
Josef Reinhard Brandl
d8bf222367
Add lifetime to FutureObj
2018-07-02 13:59:40 +02:00