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)
usize
The 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::Result
impl Display for Error
fn fmt(&Self, f: &mut fmt::Formatter<'_>) -> fmt::Result
impl Error for Error
fn description(&Self) -> &str
impl StructuralPartialEq for Error
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T