pub(crate) const SATURATE_AT_VERSION: u32 = 0x7fff_fffe;
Expand description
The maximal version that we allow a key to reach.
When it reaches this version, we do not remove the entry with the key any longer;
instead, when we would remove the entry, we instead set its value to Entry::Unusable
This value is deliberately chosen to be less than the largest possible value (0x7fff_ffff
),
so that we can detect any bugs that would risk overflowing the version.