A match expression does not cover all possible values of the matched type. The compiler requires that every possible input has a corresponding pattern; add the missing patterns or a wildcard arm.
E0004
rust A match expression does not cover all possible values of the matched type. The compiler requires that every possible input has a corresponding pattern; add the missing patterns or a wildcard arm.