Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(swarm): add
#[non_exhaustive]
to key enums
Add `#[non_exhaustive]` to the following enums so that future additions don't cause breaking changes in downstream client code: `FromSwarm`, `ToSwarm`, `SwarmEvent`, `ConnectionHandlerEvent`, `ConnectionEvent`. Related: libp2p#4543. Pull-Request: libp2p#4581.
- Loading branch information