pub enum ParseError {
NoDelimiter,
InvalidFlags(char),
}Expand description
Errors that can occur when parsing a Rift-formatted regex string (e.g., “pattern/flags”).
Variants§
NoDelimiter
The input string does not contain the expected delimiter (usually /).
InvalidFlags(char)
An invalid flag character was encountered.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParseError
impl RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl UnwindSafe for ParseError
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