Enum patterns::ParsePatternError
source · #[non_exhaustive]pub enum ParsePatternError {
PatternTooLong,
InvalidHexNumber(ParseIntError),
MissingNonWildcardByte,
}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.
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.
Auto Trait Implementations§
impl RefUnwindSafe for ParsePatternError
impl Send for ParsePatternError
impl Sync for ParsePatternError
impl Unpin for ParsePatternError
impl UnwindSafe for ParsePatternError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more