Commit 9da8a0b
authored
feat(netwatch, portmapper)!: switch from
## Description
Try to switch from thiserror to snafu.
## Breaking Changes
Error variants changed shape a bit, generally use `#[non_exhaustive]`
and contain a named `source: OtherError` field instead of wrapping an
unnamed `OtherError`, and in addition have a `backtrace:
Option<snafu::Backtrace>`.
## Change checklist
- [x] Self-review.thiserror to snafu
1 parent a1a4362 commit 9da8a0b
19 files changed
Lines changed: 469 additions & 349 deletions
File tree
- netwatch
- src
- interfaces
- netmon
- portmapper
- src
- nat_pmp/protocol
- pcp/protocol
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
| 73 | + | |
71 | 74 | | |
| 75 | + | |
72 | 76 | | |
73 | 77 | | |
74 | 78 | | |
| |||
0 commit comments