pub struct StringifyParserError<'a, P>where
P: Parser<'a>,{ /* private fields */ }Implementations§
Source§impl<'a, P> StringifyParserError<'a, P>where
P: Parser<'a>,
impl<'a, P> StringifyParserError<'a, P>where
P: Parser<'a>,
pub fn new( from: usize, requirement: StringifyParserRequirement<'a, P>, err: P::Error, ) -> Self
Trait Implementations§
Source§impl<'a, P> Debug for StringifyParserError<'a, P>
impl<'a, P> Debug for StringifyParserError<'a, P>
Source§impl<'a, P> Display for StringifyParserError<'a, P>where
P: Parser<'a>,
impl<'a, P> Display for StringifyParserError<'a, P>where
P: Parser<'a>,
Source§impl<'a, P> Error for StringifyParserError<'a, P>where
P: Parser<'a>,
impl<'a, P> Error for StringifyParserError<'a, P>where
P: Parser<'a>,
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, P> Freeze for StringifyParserError<'a, P>
impl<'a, P> RefUnwindSafe for StringifyParserError<'a, P>
impl<'a, P> Send for StringifyParserError<'a, P>
impl<'a, P> Sync for StringifyParserError<'a, P>
impl<'a, P> Unpin for StringifyParserError<'a, P>
impl<'a, P> UnsafeUnpin for StringifyParserError<'a, P>
impl<'a, P> UnwindSafe for StringifyParserError<'a, P>
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