pub enum ParsingError {
BracketMismatch,
ContFlowArgMissing,
Eof,
InvalidConPart,
InvalidAssignment,
InvalidParameter,
LexerError,
}
Variants§
BracketMismatch
ContFlowArgMissing
Eof
InvalidConPart
InvalidAssignment
InvalidParameter
LexerError
Implementations§
Source§impl ParsingError
impl ParsingError
pub fn error_code(&self) -> i32
pub fn error_text(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ParsingError
impl Clone for ParsingError
Source§fn clone(&self) -> ParsingError
fn clone(&self) -> ParsingError
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 ParsingError
impl Debug for ParsingError
Source§impl Display for ParsingError
impl Display for ParsingError
Source§impl PartialEq for ParsingError
impl PartialEq for ParsingError
impl Eq for ParsingError
impl StructuralPartialEq for ParsingError
Auto Trait Implementations§
impl Freeze for ParsingError
impl RefUnwindSafe for ParsingError
impl Send for ParsingError
impl Sync for ParsingError
impl Unpin for ParsingError
impl UnwindSafe for ParsingError
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.