Enum semver_parser::parser::Error [−][src]
pub enum Error<'input> { UnexpectedEnd, UnexpectedToken(Token<'input>), Lexer(Error), MoreInput(Vec<Token<'input>>), EmptyPredicate, EmptyRange, }
Variants
Needed more tokens for parsing, but none are available.
UnexpectedToken(Token<'input>)
Unexpected token.
Lexer(Error)
An error occurred in the lexer.
More input available.
Encountered empty predicate in a set of predicates.
Encountered an empty range.
Trait Implementations
impl<'input> Debug for Error<'input>
[src][+]
impl<'input> Display for Error<'input>
[src][+]
impl<'input> Eq for Error<'input>
[src]
impl<'input> From<Error<'input>> for String
[src][+]
impl<'input> From<Error> for Error<'input>
[src][+]
impl<'input> Ord for Error<'input>
[src][+]
impl<'input> PartialEq<Error<'input>> for Error<'input>
[src][+]
impl<'input> PartialOrd<Error<'input>> for Error<'input>
[src][+]
impl<'input> StructuralEq for Error<'input>
[src]
impl<'input> StructuralPartialEq for Error<'input>
[src]
Auto Trait Implementations
impl<'input> RefUnwindSafe for Error<'input>
impl<'input> Send for Error<'input>
impl<'input> Sync for Error<'input>
impl<'input> Unpin for Error<'input>
impl<'input> UnwindSafe for Error<'input>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src][+]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,