pub trait HashMatchKey:
Packed
+ Hash
+ Eq
+ Copy { }Expand description
Trait marking types which can be used as a matching key in the HashMap.
The larger the HashMatchKey is, the faster the implementation will be but the minimal matching
length will proportionally increase. For example a u32 HashMatchKey allows to find common
substring equal or longer than 4 bytes while a u64 HashMatchKey will be significantly faster
but only allows to find common substring equal or longer than 8 bytes.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.