Struct pear::ParseErr [−][src]
pub struct ParseErr<I: Input> {
pub parser: &'static str,
pub expected: Expected<I::Token, I::InSlice, I::Slice>,
pub context: Option<I::Context>,
}
Fields
parser: &'static str
expected: Expected<I::Token, I::InSlice, I::Slice>
context: Option<I::Context>
Implementations
Trait Implementations
Auto Trait Implementations
impl<I> RefUnwindSafe for ParseErr<I> where
<I as Input>::Context: RefUnwindSafe,
<I as Input>::InSlice: RefUnwindSafe,
<I as Input>::Slice: RefUnwindSafe,
<I as Input>::Token: RefUnwindSafe,
impl<I> Send for ParseErr<I> where
<I as Input>::Context: Send,
<I as Input>::InSlice: Send,
<I as Input>::Slice: Send,
<I as Input>::Token: Send,
impl<I> Sync for ParseErr<I> where
<I as Input>::Context: Sync,
<I as Input>::InSlice: Sync,
<I as Input>::Slice: Sync,
<I as Input>::Token: Sync,
impl<I> Unpin for ParseErr<I> where
<I as Input>::Context: Unpin,
<I as Input>::InSlice: Unpin,
<I as Input>::Slice: Unpin,
<I as Input>::Token: Unpin,
impl<I> UnwindSafe for ParseErr<I> where
<I as Input>::Context: UnwindSafe,
<I as Input>::InSlice: UnwindSafe,
<I as Input>::Slice: UnwindSafe,
<I as Input>::Token: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more