-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: Use a separate type for IGD errors
This removes all the `Igd*` variants from the `Error` enum. These would in fact never be exposed to users, since IGD errors are always caught and logged. As such, the new `IgdError` enum is crate-private. BREAKING CHANGE: The `IgdAddPort`, `IgdRenewPort`, `IgdSearch`, and `IgdNotSupported` variants have been removed from `Error`. These variants would never have been returned, but may be referenced in matches against `Error` values.
- Loading branch information
Showing
2 changed files
with
20 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters