Expand description
A trait that contains the current key as an associated type.
Given a key
tuple, calculate the final key by encoding each element individually and
hashing them using the corresponding hasher in the KeyGenerator
.
Given a key
tuple, migrate the keys from using the old hashers as given by hash_fns
to using the newer hashers as specified by this KeyGenerator
.
impl<TupleElement0: KeyGeneratorInner, TupleElement1: KeyGeneratorInner> KeyGenerator for (TupleElement0, TupleElement1)
impl<TupleElement0: KeyGeneratorInner, TupleElement1: KeyGeneratorInner, TupleElement2: KeyGeneratorInner> KeyGenerator for (TupleElement0, TupleElement1, TupleElement2)
impl<TupleElement0: KeyGeneratorInner, TupleElement1: KeyGeneratorInner, TupleElement2: KeyGeneratorInner, TupleElement3: KeyGeneratorInner> KeyGenerator for (TupleElement0, TupleElement1, TupleElement2, TupleElement3)
impl<TupleElement0: KeyGeneratorInner, TupleElement1: KeyGeneratorInner, TupleElement2: KeyGeneratorInner, TupleElement3: KeyGeneratorInner, TupleElement4: KeyGeneratorInner> KeyGenerator for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4)
impl<TupleElement0: KeyGeneratorInner, TupleElement1: KeyGeneratorInner, TupleElement2: KeyGeneratorInner, TupleElement3: KeyGeneratorInner, TupleElement4: KeyGeneratorInner, TupleElement5: KeyGeneratorInner> KeyGenerator for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5)
impl<TupleElement0: KeyGeneratorInner, TupleElement1: KeyGeneratorInner, TupleElement2: KeyGeneratorInner, TupleElement3: KeyGeneratorInner, TupleElement4: KeyGeneratorInner, TupleElement5: KeyGeneratorInner, TupleElement6: KeyGeneratorInner> KeyGenerator for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6)
impl<TupleElement0: KeyGeneratorInner, TupleElement1: KeyGeneratorInner, TupleElement2: KeyGeneratorInner, TupleElement3: KeyGeneratorInner, TupleElement4: KeyGeneratorInner, TupleElement5: KeyGeneratorInner, TupleElement6: KeyGeneratorInner, TupleElement7: KeyGeneratorInner> KeyGenerator for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)
impl<TupleElement0: KeyGeneratorInner, TupleElement1: KeyGeneratorInner, TupleElement2: KeyGeneratorInner, TupleElement3: KeyGeneratorInner, TupleElement4: KeyGeneratorInner, TupleElement5: KeyGeneratorInner, TupleElement6: KeyGeneratorInner, TupleElement7: KeyGeneratorInner, TupleElement8: KeyGeneratorInner> KeyGenerator for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8)
impl<TupleElement0: KeyGeneratorInner, TupleElement1: KeyGeneratorInner, TupleElement2: KeyGeneratorInner, TupleElement3: KeyGeneratorInner, TupleElement4: KeyGeneratorInner, TupleElement5: KeyGeneratorInner, TupleElement6: KeyGeneratorInner, TupleElement7: KeyGeneratorInner, TupleElement8: KeyGeneratorInner, TupleElement9: KeyGeneratorInner> KeyGenerator for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9)
impl<TupleElement0: KeyGeneratorInner, TupleElement1: KeyGeneratorInner, TupleElement2: KeyGeneratorInner, TupleElement3: KeyGeneratorInner, TupleElement4: KeyGeneratorInner, TupleElement5: KeyGeneratorInner, TupleElement6: KeyGeneratorInner, TupleElement7: KeyGeneratorInner, TupleElement8: KeyGeneratorInner, TupleElement9: KeyGeneratorInner, TupleElement10: KeyGeneratorInner> KeyGenerator for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10)
impl<TupleElement0: KeyGeneratorInner, TupleElement1: KeyGeneratorInner, TupleElement2: KeyGeneratorInner, TupleElement3: KeyGeneratorInner, TupleElement4: KeyGeneratorInner, TupleElement5: KeyGeneratorInner, TupleElement6: KeyGeneratorInner, TupleElement7: KeyGeneratorInner, TupleElement8: KeyGeneratorInner, TupleElement9: KeyGeneratorInner, TupleElement10: KeyGeneratorInner, TupleElement11: KeyGeneratorInner> KeyGenerator for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11)
impl<TupleElement0: KeyGeneratorInner, TupleElement1: KeyGeneratorInner, TupleElement2: KeyGeneratorInner, TupleElement3: KeyGeneratorInner, TupleElement4: KeyGeneratorInner, TupleElement5: KeyGeneratorInner, TupleElement6: KeyGeneratorInner, TupleElement7: KeyGeneratorInner, TupleElement8: KeyGeneratorInner, TupleElement9: KeyGeneratorInner, TupleElement10: KeyGeneratorInner, TupleElement11: KeyGeneratorInner, TupleElement12: KeyGeneratorInner> KeyGenerator for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12)
impl<TupleElement0: KeyGeneratorInner, TupleElement1: KeyGeneratorInner, TupleElement2: KeyGeneratorInner, TupleElement3: KeyGeneratorInner, TupleElement4: KeyGeneratorInner, TupleElement5: KeyGeneratorInner, TupleElement6: KeyGeneratorInner, TupleElement7: KeyGeneratorInner, TupleElement8: KeyGeneratorInner, TupleElement9: KeyGeneratorInner, TupleElement10: KeyGeneratorInner, TupleElement11: KeyGeneratorInner, TupleElement12: KeyGeneratorInner, TupleElement13: KeyGeneratorInner> KeyGenerator for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13)
impl<TupleElement0: KeyGeneratorInner, TupleElement1: KeyGeneratorInner, TupleElement2: KeyGeneratorInner, TupleElement3: KeyGeneratorInner, TupleElement4: KeyGeneratorInner, TupleElement5: KeyGeneratorInner, TupleElement6: KeyGeneratorInner, TupleElement7: KeyGeneratorInner, TupleElement8: KeyGeneratorInner, TupleElement9: KeyGeneratorInner, TupleElement10: KeyGeneratorInner, TupleElement11: KeyGeneratorInner, TupleElement12: KeyGeneratorInner, TupleElement13: KeyGeneratorInner, TupleElement14: KeyGeneratorInner> KeyGenerator for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14)
impl<TupleElement0: KeyGeneratorInner, TupleElement1: KeyGeneratorInner, TupleElement2: KeyGeneratorInner, TupleElement3: KeyGeneratorInner, TupleElement4: KeyGeneratorInner, TupleElement5: KeyGeneratorInner, TupleElement6: KeyGeneratorInner, TupleElement7: KeyGeneratorInner, TupleElement8: KeyGeneratorInner, TupleElement9: KeyGeneratorInner, TupleElement10: KeyGeneratorInner, TupleElement11: KeyGeneratorInner, TupleElement12: KeyGeneratorInner, TupleElement13: KeyGeneratorInner, TupleElement14: KeyGeneratorInner, TupleElement15: KeyGeneratorInner> KeyGenerator for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15)
impl<TupleElement0: KeyGeneratorInner, TupleElement1: KeyGeneratorInner, TupleElement2: KeyGeneratorInner, TupleElement3: KeyGeneratorInner, TupleElement4: KeyGeneratorInner, TupleElement5: KeyGeneratorInner, TupleElement6: KeyGeneratorInner, TupleElement7: KeyGeneratorInner, TupleElement8: KeyGeneratorInner, TupleElement9: KeyGeneratorInner, TupleElement10: KeyGeneratorInner, TupleElement11: KeyGeneratorInner, TupleElement12: KeyGeneratorInner, TupleElement13: KeyGeneratorInner, TupleElement14: KeyGeneratorInner, TupleElement15: KeyGeneratorInner, TupleElement16: KeyGeneratorInner> KeyGenerator for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16)
impl<TupleElement0: KeyGeneratorInner, TupleElement1: KeyGeneratorInner, TupleElement2: KeyGeneratorInner, TupleElement3: KeyGeneratorInner, TupleElement4: KeyGeneratorInner, TupleElement5: KeyGeneratorInner, TupleElement6: KeyGeneratorInner, TupleElement7: KeyGeneratorInner, TupleElement8: KeyGeneratorInner, TupleElement9: KeyGeneratorInner, TupleElement10: KeyGeneratorInner, TupleElement11: KeyGeneratorInner, TupleElement12: KeyGeneratorInner, TupleElement13: KeyGeneratorInner, TupleElement14: KeyGeneratorInner, TupleElement15: KeyGeneratorInner, TupleElement16: KeyGeneratorInner, TupleElement17: KeyGeneratorInner> KeyGenerator for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17)