#[non_exhaustive]pub enum ParsePatternError {
PatternTooLong,
InvalidHexNumber(IntErrorKind),
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 Clone for ParsePatternError
impl Clone for ParsePatternError
Source§fn clone(&self) -> ParsePatternError
fn clone(&self) -> ParsePatternError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParsePatternError
impl Debug for ParsePatternError
Source§impl From<IntErrorKind> for ParsePatternError
impl From<IntErrorKind> for ParsePatternError
Source§fn from(value: IntErrorKind) -> Self
fn from(value: IntErrorKind) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ParsePatternError
impl PartialEq for ParsePatternError
impl Eq for ParsePatternError
impl StructuralPartialEq for ParsePatternError
Auto Trait Implementations§
impl Freeze for ParsePatternError
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