pub struct GenParserError<'a, P1, P2>{ /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<'a, P1, P2> Debug for GenParserError<'a, P1, P2>
impl<'a, P1, P2> Debug for GenParserError<'a, P1, P2>
Source§impl<'a, P1, P2> Display for GenParserError<'a, P1, P2>
impl<'a, P1, P2> Display for GenParserError<'a, P1, P2>
Source§impl<'a, P1, P2> Error for GenParserError<'a, P1, P2>
impl<'a, P1, P2> Error for GenParserError<'a, P1, P2>
fn from(&self, f: &mut Formatter<'_>) -> FmtResult
fn requirement(&self, f: &mut Formatter<'_>) -> FmtResult
fn result(&self, f: &mut Formatter<'_>) -> FmtResult
fn causes(&self, f: &mut Formatter<'_>, depth: usize) -> FmtResult
fn print(&self, f: &mut Formatter<'_>, depth: usize) -> FmtResult
fn print_full(&self, f: &mut Formatter<'_>, depth: usize) -> FmtResult
Auto Trait Implementations§
impl<'a, P1, P2> Freeze for GenParserError<'a, P1, P2>
impl<'a, P1, P2> RefUnwindSafe for GenParserError<'a, P1, P2>where
<P1 as Parser<'a>>::Requirement: RefUnwindSafe,
<P1 as Parser<'a>>::Error: RefUnwindSafe,
<P2 as Parser<'a>>::Error: RefUnwindSafe,
<P2 as Parser<'a>>::Requirement: RefUnwindSafe,
impl<'a, P1, P2> Send for GenParserError<'a, P1, P2>
impl<'a, P1, P2> Sync for GenParserError<'a, P1, P2>
impl<'a, P1, P2> Unpin for GenParserError<'a, P1, P2>
impl<'a, P1, P2> UnwindSafe for GenParserError<'a, P1, P2>where
<P1 as Parser<'a>>::Requirement: UnwindSafe,
<P1 as Parser<'a>>::Error: UnwindSafe,
<P2 as Parser<'a>>::Error: UnwindSafe,
<P2 as Parser<'a>>::Requirement: UnwindSafe,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more