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