Enum patterns::ParsePatternError
source · #[non_exhaustive]
pub enum ParsePatternError {
PatternTooLong,
InvalidHexNumber(ParseIntError),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PatternTooLong
InvalidHexNumber(ParseIntError)
Trait Implementations§
source§impl Debug for ParsePatternError
impl Debug for ParsePatternError
source§impl From<ParseIntError> for ParsePatternError
impl From<ParseIntError> for ParsePatternError
source§fn from(value: ParseIntError) -> Self
fn from(value: ParseIntError) -> Self
Converts to this type from the input type.