Commit f1717d7
Add trivial implementations of FromClientHook
Sometimes it is nice to be able to return a `Box<dyn ClientHook>` or and
untyped `Client` from the functions that use FromClientHook like `bootstrap`.
This commit simply adds trivial implementations of `FromClientHook` for
`Box<dyn ClientHook>` and `Client`.1 parent 01b0056 commit f1717d7
1 file changed
+30
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
338 | 353 | | |
339 | 354 | | |
340 | 355 | | |
| |||
383 | 398 | | |
384 | 399 | | |
385 | 400 | | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
386 | 416 | | |
387 | 417 | | |
388 | 418 | | |
| |||
0 commit comments