-
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.
This was marked `pub` and appeared in some APIs (`SendStream::send`, `Error::UnexpectedMessageType`) even though the type itself is unreachable (`wire_msg` mod is private and `WireMsg` is not re-exported). The type itself has been marked `pub(crate)`, along with its associated functions, and functions that use it. The `Error::UnexpectedMessageType` variant has been changed to include a public newtype, which for users would behave like an opaque error. This assumes the intention was for the type not to be exposed. BREAKING CHANGE: `SendStream::send` is no longer public. `Error::UnexpectedMessageType` now contains a simple error struct.
- Loading branch information
Showing
5 changed files
with
32 additions
and
24 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
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
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