Enum pratt::PrattError
source · [−]pub enum PrattError<I: Debug, E: Display> {
UserError(E),
EmptyInput,
UnexpectedNilfix(I),
UnexpectedPrefix(I),
UnexpectedInfix(I),
UnexpectedPostfix(I),
}
Variants
UserError(E)
EmptyInput
UnexpectedNilfix(I)
UnexpectedPrefix(I)
UnexpectedInfix(I)
UnexpectedPostfix(I)
Trait Implementations
Auto Trait Implementations
impl<I, E> RefUnwindSafe for PrattError<I, E>where
E: RefUnwindSafe,
I: RefUnwindSafe,
impl<I, E> Send for PrattError<I, E>where
E: Send,
I: Send,
impl<I, E> Sync for PrattError<I, E>where
E: Sync,
I: Sync,
impl<I, E> Unpin for PrattError<I, E>where
E: Unpin,
I: Unpin,
impl<I, E> UnwindSafe for PrattError<I, E>where
E: UnwindSafe,
I: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more