[−][src]Struct pegtastic::error::ParseError
An error from a parse failure
Fields
location: L
The furthest position the parser reached in the input
expected: ExpectedSet
The set of literals that failed to match at that position
Trait Implementations
impl<L> Clone for ParseError<L> where
L: Clone,
[src]
L: Clone,
fn clone(&self) -> ParseError<L>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<L> Debug for ParseError<L> where
L: Debug,
[src]
L: Debug,
impl<L> Display for ParseError<L> where
L: Display,
[src]
L: Display,
impl<L> Eq for ParseError<L> where
L: Eq,
[src]
L: Eq,
impl<L> Error for ParseError<L> where
L: Debug + Display,
[src]
L: Debug + Display,
fn description(&self) -> &str
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl<L> PartialEq<ParseError<L>> for ParseError<L> where
L: PartialEq<L>,
[src]
L: PartialEq<L>,
fn eq(&self, other: &ParseError<L>) -> bool
[src]
fn ne(&self, other: &ParseError<L>) -> bool
[src]
impl<L> StructuralEq for ParseError<L>
[src]
impl<L> StructuralPartialEq for ParseError<L>
[src]
Auto Trait Implementations
impl<L> RefUnwindSafe for ParseError<L> where
L: RefUnwindSafe,
L: RefUnwindSafe,
impl<L> Send for ParseError<L> where
L: Send,
L: Send,
impl<L> Sync for ParseError<L> where
L: Sync,
L: Sync,
impl<L> Unpin for ParseError<L> where
L: Unpin,
L: Unpin,
impl<L> UnwindSafe for ParseError<L> where
L: UnwindSafe,
L: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,