pub enum Error {
Show 13 variants
EmptyExpressionGroup,
EmptyExpressionGroupBranch,
EmptyProgram,
Eof,
InvalidRegex(Error),
InvalidSubstitution(usize),
InvalidSuffix,
MissingAction,
MissingDelimiter(&'static str),
UnclosedDelimiter(&'static str, char),
UnclosedExpressionGroup,
UnclosedExpressionGroupBranch,
UnexpectedCharacter(char),
}
Expand description
Errors that can be returned by the exec engine
Variants§
EmptyExpressionGroup
Empty expression group
EmptyExpressionGroupBranch
Empty branch for an expression group
EmptyProgram
Empty program
Eof
Unexpected end of file
InvalidRegex(Error)
Invalid regex
InvalidSubstitution(usize)
Invalid substitution
InvalidSuffix
Invalid suffix
MissingAction
Missing action
MissingDelimiter(&'static str)
Missing delimiter
UnclosedDelimiter(&'static str, char)
Unclosed delimiter
UnclosedExpressionGroup
Unclosed expression group
UnclosedExpressionGroupBranch
Unclosed expression group branch
UnexpectedCharacter(char)
Unexpected character
Trait Implementations§
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.