Some of the IDL enums can be extended in the future, however, extending them would be a breaking change.
Summary of changes
Add #[non_exhaustive] attribute to the IdlSerialization, IdlRepr and IdlType enum in order to be able to add new variants without causing a breaking change.
Problem
Some of the IDL enums can be extended in the future, however, extending them would be a breaking change.
Summary of changes
Add
#[non_exhaustive]
attribute to theIdlSerialization
,IdlRepr
andIdlType
enum in order to be able to add new variants without causing a breaking change.