Expand description
Handle the deprecation of older versions of some types
Structs§
- Deprecated
- Wrapper type that can be used inside the dispatch enum for a type to mark a version that has been deprecated.
- Deprecated
Version - This type is used in the
Versiontrait but should not be manually used. - Deprecated
Version Error - An error returned when trying to interact (unserialize or unversionize) with a deprecated type.
Traits§
- Deprecable
- This trait should be implemented for types that have deprecated versions. You can then use them
inside the dispatch enum by wrapping them into the
Deprecatedtype.