[−][src]Enum regex_syntax::hir::ErrorKind
The type of an error that occurred while building an Hir
.
Variants
This error occurs when a Unicode feature is used when Unicode
support is disabled. For example (?-u:\pL)
would trigger this error.
This error occurs when translating a pattern that could match a byte
sequence that isn't UTF-8 and allow_invalid_utf8
was disabled.
This occurs when an unrecognized Unicode property name could not be found.
This occurs when an unrecognized Unicode property value could not be found.
This occurs when a Unicode-aware Perl character class (\w
, \s
or
\d
) could not be found. This can occur when the unicode-perl
crate feature is not enabled.
This occurs when the Unicode simple case mapping tables are not available, and the regular expression required Unicode aware case insensitivity.
This occurs when the translator attempts to construct a character class that is empty.
Note that this restriction in the translator may be removed in the future.
Trait Implementations
impl Clone for ErrorKind
[src]
impl Debug for ErrorKind
[src]
impl Display for ErrorKind
[src]
impl Eq for ErrorKind
[src]
impl PartialEq<ErrorKind> for ErrorKind
[src]
impl StructuralEq for ErrorKind
[src]
impl StructuralPartialEq for ErrorKind
[src]
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,