Enum semver_parser::parser::Error [−][src]
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> for Error<'input>
[src]
impl<'input> Ord for Error<'input>
[src]
fn cmp(&self, other: &Error<'input>) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<'input> PartialEq<Error<'input>> for Error<'input>
[src]
impl<'input> PartialOrd<Error<'input>> for Error<'input>
[src]
fn partial_cmp(&self, other: &Error<'input>) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
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>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,