Enum fancy_regex::RuntimeError
source · pub enum RuntimeError {
StackOverflow,
BacktrackLimitExceeded,
// some variants omitted
}
Expand description
An error as the result of executing a regex.
Variants§
StackOverflow
Max stack size exceeded for backtracking while executing regex.
BacktrackLimitExceeded
Max limit for backtracking count exceeded while executing the regex.
Configure using
RegexBuilder::backtrack_limit
.
Trait Implementations§
source§impl Debug for RuntimeError
impl Debug for RuntimeError
Auto Trait Implementations§
impl Freeze for RuntimeError
impl RefUnwindSafe for RuntimeError
impl Send for RuntimeError
impl Sync for RuntimeError
impl Unpin for RuntimeError
impl UnwindSafe for RuntimeError
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