Enum regex_syntax::hir::ErrorKind [−][src]
The type of an error that occurred while building an Hir
.
Variants
UnicodeNotAllowed
This error occurs when a Unicode feature is used when Unicode
support is disabled. For example (?-u:\pL)
would trigger this error.
InvalidUtf8
This error occurs when translating a pattern that could match a byte
sequence that isn't UTF-8 and allow_invalid_utf8
was disabled.
UnicodePropertyNotFound
This occurs when an unrecognized Unicode property name could not be found.
UnicodePropertyValueNotFound
This occurs when an unrecognized Unicode property value could not be found.
EmptyClassNotAllowed
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 Clone for ErrorKind
impl Debug for ErrorKind
[src]
[+]
impl Debug for ErrorKind
impl Eq for ErrorKind
[src]
impl Eq for ErrorKind
impl PartialEq for ErrorKind
[src]
[+]
impl PartialEq for ErrorKind
impl Display for ErrorKind
[src]
[+]
impl Display for ErrorKind