pub fn generic_hamming<Iter1, Iter2, Elem1, Elem2>(
    a: Iter1,
    b: Iter2
) -> HammingResult where
    Iter1: IntoIterator<Item = Elem1>,
    Iter2: IntoIterator<Item = Elem2>,
    Elem1: PartialEq<Elem2>, 
Expand description

Calculates the number of positions in the two sequences where the elements differ. Returns an error if the sequences have different lengths.