Repository navigation
Commit 8bae438
committed
feat(http2): add Builder::executor
`Builder::new(exec)` is the only constructor on either HTTP/2 builder and the
executor cannot be read back, so a caller that needs it for work alongside a
connection keeps a second copy with nothing relating the two.
`impl<E> Builder<E>` is unconstrained, so the accessor needs no bound, and
returning `&E` leaves cloning to the caller.1 parent b073378 commit 8bae438
2 files changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
317 | 322 | | |
318 | 323 | | |
319 | 324 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
123 | 128 | | |
124 | 129 | | |
125 | 130 | | |
| |||
0 commit comments