pub enum RegexpError {
SyntaxError,
TooLargeQuantity,
InvalidQuantifier,
InvalidCharacter,
InvalidCharRange,
InvalidCharProp,
InvalidBlock,
}Variants§
SyntaxError
TooLargeQuantity
InvalidQuantifier
InvalidCharacter
InvalidCharRange
InvalidCharProp
InvalidBlock
Trait Implementations§
Source§impl Clone for RegexpError
impl Clone for RegexpError
Source§fn clone(&self) -> RegexpError
fn clone(&self) -> RegexpError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RegexpError
impl Debug for RegexpError
Source§impl Display for RegexpError
impl Display for RegexpError
Source§impl Error for RegexpError
impl Error for RegexpError
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 Hash for RegexpError
impl Hash for RegexpError
Source§impl PartialEq for RegexpError
impl PartialEq for RegexpError
impl Copy for RegexpError
impl Eq for RegexpError
impl StructuralPartialEq for RegexpError
Auto Trait Implementations§
impl Freeze for RegexpError
impl RefUnwindSafe for RegexpError
impl Send for RegexpError
impl Sync for RegexpError
impl Unpin for RegexpError
impl UnwindSafe for RegexpError
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