pub trait HasPrevious: Version {
    type Previous: Version;
}
Expand description

Trait for statically enforcing backwards compatibility.

Required Associated Types§

source

type Previous: Version

API version which immediately precedes this one.

Object Safety§

This trait is not object safe.

Implementors§