pub enum LambdaParserError<'input> {
LexerError(LexerError),
LambdaError(IncorrectLambdaError),
ParseError(ParseError<usize, Token<'input>, LexerError>),
RecoveryErrors(Vec<ErrorRecovery<usize, Token<'input>, LexerError>>),
}
Variants§
LexerError(LexerError)
LambdaError(IncorrectLambdaError)
ParseError(ParseError<usize, Token<'input>, LexerError>)
RecoveryErrors(Vec<ErrorRecovery<usize, Token<'input>, LexerError>>)
Trait Implementations§
source§impl<'input> Clone for LambdaParserError<'input>
impl<'input> Clone for LambdaParserError<'input>
source§fn clone(&self) -> LambdaParserError<'input>
fn clone(&self) -> LambdaParserError<'input>
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 moresource§impl<'input> Debug for LambdaParserError<'input>
impl<'input> Debug for LambdaParserError<'input>
source§impl<'input> Display for LambdaParserError<'input>
impl<'input> Display for LambdaParserError<'input>
source§impl<'input> Error for LambdaParserError<'input>
impl<'input> Error for LambdaParserError<'input>
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl<'input> From<LexerError> for LambdaParserError<'input>
impl<'input> From<LexerError> for LambdaParserError<'input>
source§fn from(source: LexerError) -> Self
fn from(source: LexerError) -> Self
Converts to this type from the input type.
source§impl<'input> From<ParseError<usize, Token<'input>, LexerError>> for LambdaParserError<'input>
impl<'input> From<ParseError<usize, Token<'input>, LexerError>> for LambdaParserError<'input>
source§fn from(e: ParseError<usize, Token<'input>, LexerError>) -> Self
fn from(e: ParseError<usize, Token<'input>, LexerError>) -> Self
Converts to this type from the input type.
source§impl<'input> From<Vec<ErrorRecovery<usize, Token<'input>, LexerError>>> for LambdaParserError<'input>
impl<'input> From<Vec<ErrorRecovery<usize, Token<'input>, LexerError>>> for LambdaParserError<'input>
source§impl<'input> PartialEq for LambdaParserError<'input>
impl<'input> PartialEq for LambdaParserError<'input>
source§fn eq(&self, other: &LambdaParserError<'input>) -> bool
fn eq(&self, other: &LambdaParserError<'input>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'input> Eq for LambdaParserError<'input>
impl<'input> StructuralPartialEq for LambdaParserError<'input>
Auto Trait Implementations§
impl<'input> Freeze for LambdaParserError<'input>
impl<'input> RefUnwindSafe for LambdaParserError<'input>
impl<'input> Send for LambdaParserError<'input>
impl<'input> Sync for LambdaParserError<'input>
impl<'input> Unpin for LambdaParserError<'input>
impl<'input> UnwindSafe for LambdaParserError<'input>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)