Enum regex::Error
pub enum Error {
Syntax(String),
CompiledTooBig(usize),
/* some fields hidden */
}Documentation
An error that occurred during parsing or compiling a regular expression.
Variants
CompiledTooBig(usize)usizeThe compiled program exceeded the set size limit. The argument is the size limit imposed.
Trait Implementations
impl Debug for Error
fn fmt(&Self, f: &mut fmt::Formatter<'_>) -> fmt::Resultimpl Display for Error
fn fmt(&Self, f: &mut fmt::Formatter<'_>) -> fmt::Resultimpl Error for Error
fn description(&Self) -> &strimpl StructuralPartialEq for ErrorAuto Trait Implementations
impl RefUnwindSafe for Errorimpl UnwindSafe for ErrorBlanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T