Enum debris_parser::error::ParseErrorKind
source · pub enum ParseErrorKind {
LeftOverInput(Token),
UnexpectedComma(Token),
UnexpectedFunctionIdent(Token),
UnexpectedPath(LocalSpan),
UnexpectedToken {
got: Token,
expected: Vec<ExpectedItem>,
},
}
Variants§
LeftOverInput(Token)
UnexpectedComma(Token)
UnexpectedFunctionIdent(Token)
UnexpectedPath(LocalSpan)
UnexpectedToken
Trait Implementations§
source§impl Clone for ParseErrorKind
impl Clone for ParseErrorKind
source§fn clone(&self) -> ParseErrorKind
fn clone(&self) -> ParseErrorKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for ParseErrorKind
impl Send for ParseErrorKind
impl Sync for ParseErrorKind
impl Unpin for ParseErrorKind
impl UnwindSafe for ParseErrorKind
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