pub struct ParseError<'s> { /* private fields */ }Implementations§
Source§impl<'s> ParseError<'s>
impl<'s> ParseError<'s>
Trait Implementations§
Source§impl Debug for ParseError<'_>
impl Debug for ParseError<'_>
Source§impl Display for ParseError<'_>
impl Display for ParseError<'_>
Source§impl<'s> ParseError<&'s str> for ParseError<'s>
impl<'s> ParseError<&'s str> for ParseError<'s>
Source§fn from_error_kind(input: &'s str, kind: ErrorKind) -> Self
fn from_error_kind(input: &'s str, kind: ErrorKind) -> Self
Creates an error from the input position and an ErrorKind
Source§fn append(_: &'s str, _: ErrorKind, other: Self) -> Self
fn append(_: &'s str, _: ErrorKind, other: Self) -> Self
Combines an existing error with a new one created from the input
position and an ErrorKind. This is useful when backtracking
through a parse tree, accumulating error context on the way
Auto Trait Implementations§
impl<'s> !RefUnwindSafe for ParseError<'s>
impl<'s> !Send for ParseError<'s>
impl<'s> !Sync for ParseError<'s>
impl<'s> !UnwindSafe for ParseError<'s>
impl<'s> Forget for ParseError<'s>
impl<'s> Freeze for ParseError<'s>
impl<'s> Move for ParseError<'s>
impl<'s> Unpin for ParseError<'s>
impl<'s> UnsafeUnpin for ParseError<'s>
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