Commit 27aa339
authored
refactor(io,tls,ws)!: use pin-project-lite (#720)
* feat(io): use pin-project-lite
* feat(tls): adopt Unpin
* feat(io): split async streams
* fix(tls,ws): internal mutability
* refactor(io): state machines
* fix(io): return WouldBlock instead of panic
...if the buffer is in use.
* feat(io): support close in AsyncWriteStream
* refactor(io): simplify `replace_waker`1 parent 23a60f8 commit 27aa339
9 files changed
Lines changed: 581 additions & 108 deletions
File tree
- compio-io
- src/compat
- tests
- compio-tls/src
- compio-ws/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
0 commit comments