Enum pepper::pattern::PatternError
source · [−]pub enum PatternError {
UnexpectedEndOfPattern,
Expected(char),
InvalidEscaping(char),
Unescaped(char),
EmptyGroup,
GroupWithElementsOfDifferentSize,
PatternTooLong,
}
Variants
UnexpectedEndOfPattern
Expected(char)
InvalidEscaping(char)
Unescaped(char)
EmptyGroup
GroupWithElementsOfDifferentSize
PatternTooLong
Trait Implementations
sourceimpl Debug for PatternError
impl Debug for PatternError
sourceimpl Display for PatternError
impl Display for PatternError
sourceimpl From<TryFromIntError> for PatternError
impl From<TryFromIntError> for PatternError
sourcefn from(_: TryFromIntError) -> Self
fn from(_: TryFromIntError) -> Self
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for PatternError
impl Send for PatternError
impl Sync for PatternError
impl Unpin for PatternError
impl UnwindSafe for PatternError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more