Struct regex_automata::meta::error::RetryQuadraticError
source · pub(crate) struct RetryQuadraticError(());
Expand description
An error that occurs when potential quadratic behavior has been detected when applying either the “reverse suffix” or “reverse inner” optimizations.
When this error occurs, callers should abandon the “reverse” optimization and use a normal forward search.
Tuple Fields§
§0: ()
Implementations§
source§impl RetryQuadraticError
impl RetryQuadraticError
pub(crate) fn new() -> RetryQuadraticError
Trait Implementations§
source§impl Debug for RetryQuadraticError
impl Debug for RetryQuadraticError
source§impl Display for RetryQuadraticError
impl Display for RetryQuadraticError
source§impl Error for RetryQuadraticError
impl Error for RetryQuadraticError
1.30.0 · 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()
source§impl From<RetryQuadraticError> for RetryError
impl From<RetryQuadraticError> for RetryError
source§fn from(err: RetryQuadraticError) -> RetryError
fn from(err: RetryQuadraticError) -> RetryError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RetryQuadraticError
impl RefUnwindSafe for RetryQuadraticError
impl Send for RetryQuadraticError
impl Sync for RetryQuadraticError
impl Unpin for RetryQuadraticError
impl UnwindSafe for RetryQuadraticError
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