Searched refs:StrSimError (Results 1 – 1 of 1) sorted by relevance
14 pub enum StrSimError { enum18 impl Display for StrSimError { implementation21 StrSimError::DifferentLengthArgs => "Differing length arguments provided", in fmt()28 impl Error for StrSimError {} implementation30 pub type HammingResult = Result<usize, StrSimError>;44 _ => return Err(StrSimError::DifferentLengthArgs), in generic_hamming()528 Err(StrSimError::DifferentLengthArgs), in hamming_unequal_length()