pub(crate) fn key_version_serde<K: Key>(key: K) -> u32Expand description
Return the version encoded in key.
(This version that starts with 0 when a slot is first created, and increments by 1 every
time the slot is re-used. It cannot grow larger than 0x7fff_ffff.)