1#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)] 2pub enum PermutationGeneratorError { 3 TooManyElements, 4 SliceTooSmall, 5} 6pub type PResult<T> = Result<T, PermutationGeneratorError>;