pub enum LexicalError {
InvalidInteger(ParseIntError),
InvalidToken,
}Variants§
InvalidInteger(ParseIntError)
InvalidToken
Trait Implementations§
Source§impl Clone for LexicalError
impl Clone for LexicalError
Source§fn clone(&self) -> LexicalError
fn clone(&self) -> LexicalError
Returns a duplicate 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 Debug for LexicalError
impl Debug for LexicalError
Source§impl Default for LexicalError
impl Default for LexicalError
Source§fn default() -> LexicalError
fn default() -> LexicalError
Returns the “default value” for a type. Read more
Source§impl From<ParseIntError> for LexicalError
impl From<ParseIntError> for LexicalError
Source§fn from(err: ParseIntError) -> Self
fn from(err: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LexicalError
impl PartialEq for LexicalError
impl StructuralPartialEq for LexicalError
Auto Trait Implementations§
impl Freeze for LexicalError
impl RefUnwindSafe for LexicalError
impl Send for LexicalError
impl Sync for LexicalError
impl Unpin for LexicalError
impl UnwindSafe for LexicalError
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