Closed thomaseizinger closed 1 year ago
As an effort towards #71, mark Protocol as non_exhaustive. This allows us to add new variants without breaking downstream code.
Protocol
non_exhaustive
I think matching on the Protocol is important, thus I chose to use non_exhaustive here over making it opaque.
I am in favor of this change. Is this a breaking change? If so, mind adding a changelog entry?
I am in favor of this change.
Is this a breaking change? If so, mind adding a changelog entry?
I did that locally and forgot to push 🤦♂️
As an effort towards #71, mark
Protocol
asnon_exhaustive
. This allows us to add new variants without breaking downstream code.I think matching on the
Protocol
is important, thus I chose to usenon_exhaustive
here over making it opaque.