pub enum ScnrErrorKind {
RegexSyntaxError(Error, String),
IoError(Error),
UnsupportedFeature(String),
DfaError(DfaError),
}Expand description
The error kind type.
Variants§
RegexSyntaxError(Error, String)
An error occurred during the parsing of the regex syntax.
IoError(Error)
A std::io error occurred.
UnsupportedFeature(String)
Used regex features that are not supported (yet).
DfaError(DfaError)
An error occurred during construction of the DFA.
Trait Implementations§
Source§impl Debug for ScnrErrorKind
impl Debug for ScnrErrorKind
Source§impl Display for ScnrErrorKind
impl Display for ScnrErrorKind
Source§impl Error for ScnrErrorKind
impl Error for ScnrErrorKind
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ScnrErrorKind
impl !RefUnwindSafe for ScnrErrorKind
impl Send for ScnrErrorKind
impl Sync for ScnrErrorKind
impl Unpin for ScnrErrorKind
impl !UnwindSafe for ScnrErrorKind
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