pub struct ParserError {
pub description: String,
pub code: String,
}Fields§
§description: String§code: StringImplementations§
Trait Implementations§
Source§impl Debug for ParserError
impl Debug for ParserError
Source§impl ParseError<&str> for ParserError
impl ParseError<&str> for ParserError
Source§fn from_error_kind(input: &str, kind: ErrorKind) -> Self
fn from_error_kind(input: &str, kind: ErrorKind) -> Self
Creates an error from the input position and an ErrorKind
Source§fn append(_: &str, _: ErrorKind, other: Self) -> Self
fn append(_: &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
Source§impl PartialEq for ParserError
impl PartialEq for ParserError
impl StructuralPartialEq for ParserError
Auto Trait Implementations§
impl Freeze for ParserError
impl RefUnwindSafe for ParserError
impl Send for ParserError
impl Sync for ParserError
impl Unpin for ParserError
impl UnsafeUnpin for ParserError
impl UnwindSafe for ParserError
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